instruction
stringlengths
24
27.2k
Other than client puzzles, what are some things a website can do to defend itself against a LOIC Hive Mind attack? The Low Orbit Ion Cannon (LOIC) is an attack tool which features a user-friendly GUI as well as an option to voluntarily add yourself to a botnet controlled via an IRC channel.
If an attack (DoS & DDoS) involves thousands of bots, how can the server distinguish them from legitimate clients?
I would like to store valuable client data (ex. passwords, OAuth tokens) in a way that they will be accessible only from one application (separation on application base). The mechanism must be transparent for the user - additional password protection will be irritating. Is there any way to achieve that in Windows? (I...
Suppose that the victim's web server infrastructure can process 200,000 TCP connection requests per second. Assume that a single connection request (TCP initial SYN) requires 40 bytes to transmit. The victim's web server maximum bandwidth is 100 Mbps. Can the attacker launch a sufficiently large SYN flood to overwhelm ...
Most of websites that handle important information (Gmail, for instance) have some kind of brute force protection. Sometimes if you try more than X times it will lock the account or at least give you a captcha to solve. Currently all the security experts keep saying the same thing: make long, mixed chars, high entropy ...
I want to use X forwarding in my work because some tasks are just easier with GUI. I trust the administrators not to be malicious, but I don't trust their competence in security (almost nil). Hence the machines I ssh into are not that reliable. So what measures can I take to minimize the risk of X forwarding, except fo...
At a company I worked at, I had to change my password every 90 days and I could only reuse a password after 8 iterations. This no-reusal included passwords being too similar to the old one, e.g. when I only changed one letter, that new password was not accepted. Does that mean they were storing this password in plainte...
I've been messing about in CTF's for a while and I also do pen-testing professionally, what i've noticed is a distinct lack of CTF competitions using windows environments. This is in stark contrast to the majority of environments I test professionally (that's not to say there isn't *nix used heavily in the environment...
If I use a credit card only for chip&pin/EMV transactions and possibly for contactless transactions, I don't need the following parts of the card. magnetic stripe embossed numbers etc signature strip CSC/CCV number The vendor never really look at your card in these circumstances. Obviously this will cause some diffic...
So I have read some articles (this being one https://nakedsecurity.sophos.com/2010/01/05/flash-drive-manufacturers-warn-hackers-decrypt-secure-usb-sticks/) that point out some flaws with certain encrypted USB sticks. Are all encrypted USB sticks subject to these kinds of problems or are there ones out there that are st...
The control + j feature within PeopleSoft outputs a list of potentially interesting data for a potential attacker. The feature is generally used to aid in debugging. Here is a the [censored] output from a control + j: Is it a security risk to have control + j functionality enabled in a production (live/public) instanc...
To use tails, I have always used a DVD, because of the fact I know it will not be tampered with, at least within reason. However there are endless reasons why a USB boot option would be faster, and in the current project I am building, it is the only real choice. Here is what I do not get, and why because it seems so g...
I know there are HSMs that let you enter keys but you cannot read them out. Also the secure element in Android lets you do that too. You can enter keys in them and you can perform operations using those keys but you cannot read them out. How does that functionality work? I mean how do these chips prevent the read-out? ...
I'm trying to get around the DVWA high security SQL injection challenge, I've tried a bunch of automated scanning tools with no luck, read a bunch of articles saying it's impossible now i've turned to the source code: You can submit a number (id) to select some details from within the database. I'm trying to pull all r...
Lets imagine the Fed start registering digital USD for use in offline e-wallets, and they figure out a way to make it so that only registered wallets can make transactions. Without an online centralized server validating and tracking ownership of currency to a wallet, I would worry that hackers could theoretically dupe...
Is this still viable? I remember using this when it just worked in shells. http://www.openwall.com/john/
I was trying to overflow buffers and I was wondering , Is there anyway to do a buffer overflows without using environment variables ?
I am inspecting a Wordpress web site for a client and I have found that some backdoor were present in the webroot folder. Now I have to understand how the attacker did that reviewing the source code that the client provides to me. What are the ways with which an attacker could upload a backdoor? On what part of code sh...
I just discovered this fact tonight and I was rather floored by it. Isn't that a gaping security flaw? I realize that an external drive is less secure by virtue of the fact that someone could simply take the drive and move it to a different machine. In looking at this a bit different, it is possible to change OS X d...
From what I hear, android uses the standard linux dm-crypt for encryption. Obviously you should have: A pin/password for your phone That pin/password should at least be 8 characters The question is how much that already does to protecting the data on the phone. Let's just assume that the password you picked is "safe"...
I know most services run under non interactive windows station or desktop also called session 0 while as some services (interactive) running under local system account create a window on interactive desktop and access the User desktop by calling OpenWindowstation and GetThreadDesktop functions. It often displays UIOde...
Question first: Is there any remediation for passive MITM? I've come across examples of NFC relay attacks which use phones to get around the proximity requirement for NFC payments. It looks something as this: [card | phone1] ----------------------> [phone2 | terminal] (normal operation would be [card | terminal]). Many...
Against my better judgement I foolishly opened an MPEG video emailed to me from a friend's email address because the topic in the email was something we had recently discussed. I am fairly certain that the MPEG was malware as it only opened Media Player long enough to do some kind of exploit and then closed. Shortly af...
A friends drupal site was hacked. What is strange is that the root directory of the installation at the hosting company (let us call it rootdir) was copied (or renamed) rootdir_hacked and the directory rootdir was left one file index.html saying the site is under update. What I do not understand is how can the hacker c...
When using a Virtual Network, is it possible to infect the underlying Network infrastructure with malware from the Virtual Network. How safe is the use of Virtual Networks?
Yesterday I noticed that one of my e-mail addresses (the only one within that domain) started to receive a lot of weird messages that the mail haven't reach the target (something like "Sorry, Qmail wasn't able to deliver..." etc.). I (or rather the hosting provider I have a shared hosting account from) do(es)n't use QM...
So, recently, after going through some infosec training (FutureLearn's Introduction to Cyber Security, which I heavily recommend as well-explained newbie material), I decided to take the plunge and finally up the security of my authentication in password-protected computer systems. My goals were to... Use unique passw...
I have an web app 1 which would do the authentication of the user. After that I want to forward the request to another web app 2. Now web app 1 will generate some hashcode which I can authenticate in app 2 and be sure the user is authenticated. I thought of 2 approaches for this use case. App 1 will generate the hash ...
If you were downloading music and games from a Work Wifi, and knew the password is there any way they could trace you and what you have downloaded?
In Apache httpd webserver there are two ways to load modules into the server, static and dynamic. There are some modules which must be loaded static, e.q. mod_so and core. The mod_so must be loaded to enable dynamic loading of module, but it is also needed when all modules are loaded statically. My question is: Is ...
In my firm we have a couple of thousand hardware devices, installed externally, that all send back data to a central server. They send back data about every hour. Each of these hardware devices encrypt the data they send with an individual encryption key, typically an AES 128 bit encryption, but there are several othe...
I have implemented encryption for certain columns in a database. In some cases it may be necessary to search by these columns, either for exact matches or for substrings. At the moment, there is less than 10000 rows to search through (at most). However this will probably change in the future so I am anticipating effice...
Suppose I use remember one long high entropy master password, and use variations of it for each of my passwords. Eg if I remember tSaF4nWeACVkUU4 as a master password and use tSaF4nWeACVkUU4t (with a t and the end) as my Twitter password and tSaF4nWeACVkUU4g (with a g at the end) as my Google password. Is this bad prac...
Problem: Currently have no way to verify integrity of my offline encrypted system. I would like to ensure the system hasn't been physically tampered with while I've been away from it. (To clarify:while I am aware that the system cannot be modified without gaining access to the my encryption key. This question is to add...
Do U.S. based companies or corporations generally have policies restricting their security staff to certain nationalities or are they generally open to all qualified persons regardless of citizenship?
On the surface it looks like both libraries are designed to preform the same functionality with similar "drop-in" capabilities. Are there differences that I need to take into account when making a decision about which to use? If so, what are they? https://www.owasp.org/index.php/OWASP_PHP_Security_Project https://www.o...
I'm trying to consider how to properly vet devices that have exhibited unexplained activity for future deployment. Let's just consider my current scenario as an example, but I am interested in this from a broader standpoint. We have two IP phones that were purchased at the same time that are behaving strangely and dif...
Currently we are receiving a surge in machines that are being attacked with Cridex. We received several spam/infected emails that have used macros to we think deploy a backdoor trojan that is allowing Cridex to be pulled down. This is the popup we get from SEP: https://i.stack.imgur.com/TaDR7.jpg Also after installi...
I have learned about IMSI catchers but also read that one can not get the phone number through that IMSI. Lets suppose I want to collect the phone numbers of all people in a college/ shopping mall/ part of residential area for targeted advertising. Is it possible? If yes, how does one go about doing it?
What's the worst that can happen, the hackers will pay my bills for me? Assume that this isn't a malicious hacker out to disconnect my electricity. What kind of concerns are there for my finances, property, and personal data?
I have a requirement to implement Facebook and Google login in my web application. I also need to access a user's Facebook/Google+ friend list. I have gone through the complete OAuth2 documentation of Facebook and Google. I understood the basic concept. For example, lets say for Facebook login the steps are: The user ...
Does Google use network encryption on it's Android apps like Gmail, Drive, Google Play, Docs, and others when doing authentication/data transfer? What type of encryption is it? Is it secure? I have tried searching Google's help site about this and did not find a good answer. Can you provide me with some resources about...
I've been wondering how iTunes movie rentals work from a security standpoint. Given that the "rented" files are actually downloaded to the user's computer and then played from there, it seems like there is no way to prevent the user from saving the files indefinitely. It's possible that the files are stored in some ...
What is the best Open Source Malware Scanner/Cleaner? Malware-bites is good but it requires licensing for companies.
I'm a beginner network security student and as practice my dad let me look over his personal business online store website. I found a script called image.asp which when fed a file parameter returns a thumbnail of an image. Edit: It's used for creating thumbnails of products in his store. Example: www.example.com/image...
Recently I am growing passion for security/encryption/cryptography. I follow some famous people in this domain on twitter and read articles over the web. However, this topic seems deep and every time I read something new I kind of get information overload. I believe the reason for this is that I do not have my basis co...
I'm subscribed to goverment's owned ISP because only this ISP provides access to rural area. It has a bad reputation because it is not only redirects sites, but also injects JavaScript for advertising at the end of HTML pages. I've been using dnscrypt to avoid redirection. But a few hours ago, I accidentally discove...
Usually, in programming, reusing code is always a better idea than writing your own implementation of an algorithm. If an implementation has been around for a long time and is still used by lots of projects, it is likely to be pretty well designed to begin with, have received plenty of testing and debugging, and perhap...
I have been working on an application running over XMPP. I would like to know which all popular security layers are available over the XMPP protocol, similar to SSL over http.
A colleague suggested to me just to prevent letter characters from occurring immediately after an opening angle bracket as a way to protect against XSS and HTML injection. Obviously, this doesn't prevent issues such as: <img src="%injectable%" /> But I can't think of a way around his suggestion. Is it really that simp...
Why do some known vulnerabilities have no CVE ID? And why does some vulnerability have a CVE ID assigned but no information on cve.mitre.org or cvedetail.com?
I can't seem to find any documentation on what these options do: Does this somehow offer more protection to your secret key? That is all I can think it would do.
So my idea was.. There is a program that require login to be able to use(the program should work offline aswell not requiring any online data), so i want to make that program to be able to run offline aswell, so what i did is i captured the packets (with wireshark) that moved to the program while logging in, next i tri...
Maybe not 100% on topic for this site but it seemed like a good place to ask. All laptops are now sold with webcams and microphones and I have use for neither. Taking care of the webcam is easy; three layers of black duct tape The microphone is a bit trickier. Placing duct tape on it will probably dim the reception but...
I am trying to pentest the security of the password of my wireless network. It is a WPA2 with pre-shared-keys. My current computer is connected to the wifi router and I try to de-auth my own machine. Steps I created a monitoring interface: sudo airmon-ng start wlan0 Now I use airodump-ng to find the channel and MAC o...
I'm updating an application to write slightly more verbose errors to the system log file (in this case, /var/log/apache2/mysite_error_log). I hope that I'm not asking the proverbial stupid question - but are there any potential issues with including user-passed data such as invalid arguments passed to a page in the A...
My understanding is that when an e-mail is encrypted and sent to a recipient, the recipient's public key is used to encrypt the e-mail, and then only the recipient can decrypt it with their private key. However, how would this process work when sending an encrypted e-mail to multiple recipients? My best guess would ...
How does Avast's https scanning feature work? Is it basically a MITM attack? This feature was enabled in the 2015 version released a few days back
When a new machine certificate is imported with a private key a MachineKey file is generated in "%ProgramData%\Microsoft\Crypto\RSA\MachineKeys". When using the certificate mmc snapin or removing a certificate with powershell's Remove-Item the MachineKey file is left behind. What are the implications to the artifacts...
I'm designing a web application that is going to handle very sensitive data, storing it on behalf of its users. A kind of online safe, if you will. A user's secure data should only be visible to her, not even to the server software or owner. This opens the way to robust security practices, such as using an end-user pas...
If I visited a malicious site while being logged in to Google, Hotmail, Facebook, or Twitter in the same browser window, how hard is it for the site to discover my account IDs without my explicit permission? Assume: fully patched operating system, fully patched web browser with plug-ins disabled, fully patched router ...
Someone sent the following email from my gmail account. I believe it was hacked and if I can find the IP address I may be able to identify the person who did it. Here is the information. Please let me know> MIME-Version: 1.0 Received: by 10.25.30.3 with HTTP; Thu, 6 Nov 2014 19:58:50 -0800 (PST) Date: Thu, 6 Nov 2014 2...
Is it possible for incoming video/audio streams to contain malware through exploits in the transfer of the video/audio?
I noticed that at least one major CA (Comodo) publishes their CRL over HTTP rather than HTTPS. This seems to me to be somewhat of a vulnerability, as an attacker could hijack the HTTP connection that seeks to download the CRL and when HSTS is in use at the very least execute what effectively amounts to a DoS attack on ...
I am curious how safe I am if I use telnet through a VPN-tunnel to my webhotel? I thought that the information was encrypted between my computer to the vpn-providers default-gateway. But when it leaves the gateway on its way (through internet) to my webhotel its no longer encrypted? This is just a guess - Am I complete...
I wanted to create a new PGP key using GPG Keychain Access on my Mac. One of the options was to choose keytype: RSA and RSA DSA and Elgamal RSA (Sign only) DSA (Sign only) I found this Superuser question, but it may be outdated. RSA keys seem to be less secure since it's known that the NSA infiltrated RSA and made th...
I'm looking for different kinds of applications which is intentionnaly (or not) made vulnerable and so are suitable for practicing different penetration techniques, like SQL injections, buffer overflows and such. There are plenty of similar frameworks designed for praciticing web apps' penetration, DVWA (http://www.dvw...
I recently found a site, Cell-Spy-Stealth.com, that claims to sell spyware which can be targeted on a phone by simply making a call to it: "It will work even if you get the voice mail, or if the target phone is password protected." It claims that after this one-time call, your phone will have access to all live SMS, ca...
I am fairly new to encryption and I need some help. I have a problem that I'm trying to solve. My problem is the following: I have a Web Server and an (iOS) App that that communicate with each other. I want the communication to be secure, so I'm using HTTPS. The Web Server and the App are communicating via an intranet...
I created a user that I use to login with using an SSL Key. I have not set a password. To be clear it is not an empty password, but an unset one. The /etc/shawdow has a single exclamation point where the password would normally be and I have checked that entering a password instead of using the private key does not l...
I am testing one web application build using PHP. I found one vulnerability in which multiple user can log-in using same browser, without destroying others session. What this sort of vulnerabilities are called and what is the effect of this vulnerability? Many times it happens I find some vulnerabilities, but unable to...
What happens if someone steals one of my additional domain controllers? What information could an attacker get from my domain controller?
Is it possible to create a Web service that encrypts all messages, such that only the writer, and the person to whom the mail is sent, can read it? In other words, is the theory behind ProtonMail valid?
I want to ask about access control that are used on Ubuntu. I already read Ubuntu Access Control List but I'm still confused. Is there someone can explain about access control on Ubuntu? Because honestly, I don't really know about Ubuntu, I'm using Windows hehe. Thanks in advance for your help to answer my question.
i have been recently hired by an ISO 27001 certified company as an " internal ISO technical auditor". My employer told me that my job is described as follow: this job is created because of the need of a technical resource who will take care of technical issues not organisational issues i am attached to the ISO team an...
Just examined a spam email sent to me. The header's "originator" has both my email address and my web site's IP address, (my SMTP). My first thought is that someone has obtained my email password since I'm sure that my site's sendmail is secure. Is there some way that this could be a spoof, or what?
I use ssh connection encrypted and compressed. If I use small RSA keys or very big RSA keys, what is impact on CPU load for compression, for decompression and on bandwidth (encrypted file size) ?
I'm trying to verify a 2-way SSL connection using the openssl s_client command openssl s_client -connect localhost:8883 -CAfile ca.pem -cert client.crt -key client.key The openssl s_client fails with the following error: openssl s_client -connect localhost:8883 -CAfile ca.pem -cert client.crt -key c.key Enter pass ph...
I encountered a question "true or false, replication is NOT a way to protect data". I answered true since I felt that protecting data meant securing the network and preventing unauthorized access to the data, and simply replicating it would not "protect" it. I was told that I was wrong and that replication would fall u...
I patched for shellshock and was barraged a few days later. However, I would not have known any attempts were made at all if not for a regular expression I found on the internet. This has inspired me to look further into my logs. Is there any centralized list of regexes I can use in a script to parse my logs for common...
When I'm checking my log, I found like 15k events of " PAM service(sshd) ignoring max retries; 6 > 3 " I know this might be normal, and considered as Brute-Force attack, but can it be classified as DoS attempt? Sample of the log: | 8864611 | eros | 2014-08-11 18:18:38 | PAM service(sshd) ignoring max retries; 6 > ...
I want to know the table name and column names of that table in website login page. How should I do that. There are only two input fields, Username and Password. And it is vulnerable to Sql injection, because when I inject 1'or'1'='1 it logs me in with dummy values. I am learning sql injection, and testing on this site...
How to protect a web application from DDoS by the implementation of Web Application firewalls? How effective is this method?
Google Chrome browser helps in password management by prompting users to remember their passwords for the websites. These saved passwords can be accessed from the browsers "settings" menu, and to do so Chrome asks user for the Windows password. I understand this is for providing more security. I read somewhere that the...
Someone started attacking my site a few minutes ago and its caused PHP-FPM to max out all cores (4) on my vps and NGINX is now serving 502 to all users. I'm seeing a bunch of these requests with tons of different agents xx.xxx.xx.xx - - [10/Nov/2014:5:14:35 -0500] "POST / HTTP/1.1" 502 574 "-" "Mozilla/5.0 (Windows NT...
Suppose I am connected to a wifi-hotspot hosted by a malicious attacker. Further, suppose that I am accessing a login page of an fictitious email site tmail.com over insecure HTTP connection. My question is how can the attacker who owns the WiFi-hotspot steal my password by injecting the malicious JavaScript code with...
I am trying to exploit simple stack overflow vulnerability. I have a basic code in c: #include <cstring> int main( int argc, char** argv ) { char buffer[500]; strcpy(buffer, argv[1]); return 0; } compiled using -fno-stack-protector. I've already figured out the buffer length and I've successful...
In EAP-TLS method of authentication if a server sends Change Cipher Spec message to the client, I couldn't find references to SSL3_ST_CR_CHANGE_A. The enum is defined for SSL3_ST_CR_CHANGE_A in ssl3.h, but I looked at OpenSSL's source code: s3_clnt.c:ssl3_connect(), and I don't see any case that handles it. The ope...
I have heard about both Web Application Firewalls (WAF) and Intrusion Prevention Systems (IPS). Which is better in preventing a Distributed Denial of Service (DDoS) attack and why?
is there any simple way to log/list all resources my website (wordpress & theme) needs from the outside? Like jquery, fonts and all this stuff. I want to host it on my own server. (doesn't matter if it's a good idea or not)
Last week I read a lot about security. I have a basic understanding how public keys or private keys works. But I still have a lot of questions I can't find an answer. Right now I'm interested in checking an executable file I downloaded. Let's assume I sign a file, send it to user, but some bad guy in the middle change ...
I'm wondering how bad it is to truncate a SHA1 and only compare, say, the first 10/12 bytes, etc. I'm working with a fixed length of 8 bytes that I need to hash for uniqueness but store with the smallest footprint possible (8 other bytes would be nice, but I guess not feasible). A bit more information without sacrifici...
I have been analyzing a PDF I suspect to contain malicious content. For the most part, I've always trusted automated tools to determine if a PDF was safe to open. However, my eyes have been opened to all the encryption and obfuscation techniques in the wild today. So I've started reviewing my PDFs manually using tools ...
I can't quite figure out the differences between using the Tor browser and using a VPN (like concretely proXPN). From what I understand the idea is the same, that they both hide the IP address. The only difference that I can see is that Tor seems slower because it has to pass through several computers. So is using the ...
SSH with public-private key authentication comes enabled by default with most Linux distributions. This is great because when I create accounts for remote users I don't have to email them sensitive info(passwords). However, this process becomes useless when these users need to run sudo -- the server is still asking for...
For those malwares which are used to organize botnets to DDOS a website, they just need to send and receive HTTP packets. Do they need to be privileged? If they dont need to be privileged, is it true that any unprivileged program I run on my machine could contain malicious code to DDOS a website with my bandwidth?
From a computer forensics standpoint. If someone were to mount a partition in RAM using something like: mount -t tmpfs tmpfs /mnt -o size=1024m How much more difficult would it be to recover data saved there than it would be to recover data saved and erased on a regular harddrive?
I have set up a certificate-based connection with socat using this tutorial: http://www.dest-unreach.org/socat/doc/socat-openssltunnel.html My socat connection works as following (only the relevant parts of the command): ssl:<server-ip>:<port>,cert=/path/to/client.pem,cafile=/path/to/server.crt ssl-l:<port>,cert=/path/...
My question refers to securely erasing viruses from the usb flash drives, including the MBR, in case there is one. I was thinking of booting with Linux from a closed CD-R (a cd rather than USB flash drive because of the possibility of a virus jumping from one drive onto another AND bootable in order to prevent the viru...
Why aren't client-side certificates used for Authentication? Then user has to remember only 1 password to unlock his windows account which stores the certificates. I understand that if user access websites from different machines, the certificates has to be synced. But with one strong password for windows account, isn'...