instruction
stringlengths
24
27.2k
sorry im kinda clueless with this stuff... I heard if you set your wifi password to more than 10 or so digits (and make it complicated), then your wpa / wpa2 psk would be safe. Is that true? If not, how do i make it secure so that i dont have to revert to Wired (=safe?)? I just need it to be secure for one day at a tim...
I'm seeing many sites offering one or two "security questions" that have to be answered by choosing characters at specific indexes, in addition to username + password. For example: "What is your mother's maiden name?" 1:[] 5:[] 8:[] And you're meant to enter the first, fifth and eighth characters of the answer you've...
I've found an SQL injection vulnerability in a website and I want to go reporting it. I do have contact email, but I'm afraid that they'll sue me because I found a way to hack into their site. (No, I didn't run any SQL commands). So... aside from staying anonymous, how should I go about reporting this one?
How risky is it to check my email on my smartphone on an open Wi-Fi network (i.e. Starbucks or Old Navy)? Is this only risky if someone is snooping? Do they have to be there, or can they leave a recording device and come back later to collect the data? Specifically, what if I am checking my Yahoo mail? Can someone see ...
Is there an implementation of Authenticated encryption for .NET applications? The AES API from .NET does not include mode such as GCM. In the documentation, I can only see insecure modes (ECB, CBC, OFB, ...) that can not be use alone. Very important : I am looking for a mature implementation not a GitHub project used b...
It seems that the status quo at the moment is to configure firewalls to drop any packets that aren't destined for specifically-opened ports. Many defensive port scanners (such as ShieldsUP!) seem to praise you for every port that has a DROP policy. If you were to port-scan any of the top domains in the world, almost al...
Let's say a ZKP (e.g. SRP6a) is used, for password verification. Let's say I need to force a user to change their password (so I have the salt and the verifier for the current password). For this, the client will need to send me the new salt and verifier values. But I can't check if the password used was the same if th...
First, since there is no SQL stackexchange I am not sure where the best place to ask this question is (I debated between here and programmers.stackexchange). If this is the wrong place, please move it. It is an obvious flaw in SQL that inputs are not sanitized by default and user-input can be executed. When designing S...
Every few weeks, I get an annoying SMS trying to sell me something, or trying to get me to click something, or otherwise spamming me. I don't think it's a targeted thing- I think my phone number is just out there, or bots are trying random phone numbers. That kind of thing. Sometimes they're clearly from burner e-mail ...
Where might someone keep them besides a database? By storing passwords elsewhere I mean a non-traditional database. Allow me to explain. A couple of my friends run high security websites. They needed someone to pentest their website and see if someone could steal passwords. So naturally they asked me if I would do ...
I'm researching into ddos attacks to get a better understanding. I've read lots from this community however one thing I couldn't get my head around is packet dropping. So lets say I've identified an attack signature and want to drop these packets. [Attacker]-------------[Hop]----------[Hop]-------[Hop]------[My Server]...
I am designing a software architecture and i need some suggestion and clarification on few issues. This will be a server side RESTfull API for accessing data and multiple mobile/desktop client to access to API, collect some data and digital goods to consume in clients. It will be accessed over HTTPS Clients will be iOS...
How to identify if BIOS is infected with malware? Is there a way to extract content of a BIOS chip?
I don't particularly want to implement Captcha on my login form for a website. But I've got a block mechanism already in place. What's the best way to protect from Brute Force attacks? Here's what I was thinking: Implement a lockout, so after 30 failed logins I block the customer account. 30 is an arbitrary number, b...
It seems this great tool has been lost to internet backlog somewhere. I cannot locate it anywhere. The description of tools provided is http://www.securityfocus.com/tools/category/112 If someone on the site uses this tool and have a copy can It be uploaded to any uploading site? thanks
When visiting some websites like http://www.monip.org or http://ip-api.com, I get the following result: Your current IP Address - IP: 197.158.x.x - Internal IP: 192.168.x.x I understand that I can see my public IP address (197.158.x.x). What I can't figure out is that how come my internal IP address is visible...
How can we identify which root CA client used when there are multiple root CAs on the server? We can compare the public keys of the client certificate and the root certificate but if we have many root certificates this is an unnecessary overhead. Is there any way to find out from the client certificate (x.509) which r...
This is a question that's not really about security proper. It's about security/crypto nomenclature. It's been bugging me a bit, so here goes: I know two approaches for bundling related certificates/keys together: Heavy weight approach: PFX. There is the PKCS #12 file format. Windows saves these as .PFX or .P12 files....
For the purpose of this question, let assume that an SSL/TLS connection has 4 parameters: protocol, symmetric encryption method, asymmetric encryption method, MAC. During the negotiation of SSL parameters, a browser tries to achieve the best possible parameters. So, my questions are: What is the proper order of the ...
If I use PBDKF2 with a good enough password and salt to generate a 2n bytes key, does knowing the first or last n bytes make it any easier for a 3rd party to guess the other half of my key than using a brute force attack?
Let's say you have a server at shop.example.com and you are requesting a certificate from some trusted CA like Comodo (they say they'll issue it within few minutes online). First of all, how can they ensure that you really are an admin of shop.example.com? Perhaps it was an attacker who requested this certificate to b...
When I go to this site, Chrome Version 44.0.2403.89 is connecting to the server with TLS_RSA_WITH_AES_128_CBC_SHA (0x2f), and it states that this is an "obsolete cipher suite". For what reason is it called obsolete?
I have a network that is only accessible through bastion servers over ssh. In it, I am developing web applications that are exposed to end users via GUI's served up over websockets. All traffic into and out of the network travels through an SSH tunnel from whatever service host, through the bastion, to the end user's m...
I have made a PHP forum. I used PDO, as well as SQLi. When I did a security scan of my website, it found errors, and after a long time of trying different stuff, I can't fix them. Points to whomever help me fix them. I got the following errors: sql injection Classification Input: Validation Error Resource: view_top...
If I understand correctly, the maintainer scripts in Debian packages are executed with root privileges. I assume that this means that, contrary to my expectation, installing a malicious package can not only lead to compromising the user that runs code in the package, but the whole system. Question 0: Am I correct? Q...
I have been decompiling Android apps recently. In a sample of 37 apps, 12 of these use some form of custom encryption/obfuscation to store settings and credentials on the device. By necessity, the app itself has the key to encrypt and decrypt. For 11 of these apps, the key/method is entirely hardcoded. One of the apps ...
Most of the time when we develop a software flow to implement a business logic often we are giving some decision that effecting safe and comfortable usage of the system and maybe success of the business. For example to validate a member that is trying to update important data on the system (like credit card data etc.) ...
I have read a lot of Q&As that have achieved success in packet captures of Wifi probe requests, which entails capturing IEEE802_11_RADIO (802.11 plus radiotap header) in monitor mode. But I find that I cannot capture any packets at all in monitor mode (though I have no trouble with packet captures in managed mode on a ...
With Session resumption in TLS/HTTPS the client stores the sessionID or the session ticket and uses it the next time it wants to communicate with the server. I am trying to find where the browser stores this information. I am not able to find much information about that. Can anyone help out or point me in the correct d...
I have an IP address of someone who has stolen from my company, but I'm pretty sure they relayed through another computer. The IP address I have doesn't go to home or business, but to a field in the middle of nowhere. How can I find the original IP address? I don't think they would have spoofed their IP, because I've r...
I have been able to install and run the application that I plan on exploiting. Once the app is running I am able to exploit the application. In my testing environment I am able to do this just fine. I use the following steps: Download astro file manager Find the .apk file & install Run the application Exploit the a...
I would like to know the practical limitations to contact chaining multiple peoples pgp key's in order to protect a file. In normal public key cryptography, four keys are required, public and private from both parties. But, if the integrity of one of participants is compromised say, through torture or some other form o...
I have different client applications running on different OS (iOS, Android, Windows Desktop, Windows Phone, Mac, Windows Store -All Native Apps-) I have to decrypt (AES-128) some files (thousands of them) on the clients so i need to store Encryption Keys in the client side. Currently i am keeping it as hardcoded string...
I'm researching the extent to which TLS_FALLBACK_SCSV protects against Cipher Suite Downgrade attacks. I understand that the correct way to protect is to remove support for the insecure cipher suites. This is why I'm a little confused by results from ssllabs that give a nice green notice even though the server in que...
I'm looking at the architecture of Android and want to come up with a service that allows for multiple applications (3rd party) to call a local android service and fetch data. Think of this as a partitioned dropbox service, where each app saves a file, and if the user configures the app to share data between apps (e.g...
I have never used an android phone and so hopefully this is not a bad question to ask. I know on iOS the kernel itself is signed and so cannot be extended and all applications are signed. Hence I cannot ssh/telnet into it for example and getting a shell. Unless you jailbreak it and disable signature verification and do...
For example I have this complex personal password cary1bondoc21cary2bondoc as my password and because I am forgetful I also want to used that in work related accounts like company email, etc. Is there a chance that my company can record the strokes that I've made while I am in their offices, which will eventually to th...
http://www.extremetech.com/computing/150536-how-to-bypass-an-android-smartphones-encryption-and-security-put-it-in-the-freezer I read this article about FROST and in the comments someone was stating that this process would not work with new androids with built in batteries. I can not believe this is true because if a d...
I've read about it a little but I'm concerned. It never happened before and for last 5 hours my router gets kernel: Intrusion alerts similar to these: As soon as the kernel: Intrusion is detected, it drops my ADSL line connection. I have dynamically assigned IP from my ISP, so I doubt it's DDoS. So what can it be? I g...
I did an nmap scan on a website that is being hosted by a hosting company. The results showed a rDNS record with an ip and a domain name. When I googled the domain name it appeared in malwaredomainlist.com. Does this mean this server is hosting malware along with websites? Are domains listed in malwaredomainlist.com co...
Are there any existing data sets of spear phishing emails available? I've found a bunch of data sets of phishing emails, but that's not what I'm looking for. I'm not looking for mass phishing campaigns. Rather, I'm interested in spear phishing: targeted social engineering emails. I've checked phishing archives, like...
These days Google Analytics uses a JSONP request to load ga.js into user's web pages via a callback function. According to the Wikipedia, JSONP can "inject any content into a website." What exactly does this mean? Is there any way to access local storage, variables in RAM (private keys for example)? Are attacks limi...
Say I have several different email accounts and I want to use a different encryption key for each of them but still have them all certified under one identity. Is this a good idea and how would I do it? For example: Jon Doe (identity; key stored on encrypted external drive) certifies jon@doe.me (personal conversations...
Since a few days ago, my copy of Tor (4.5.3) keeps using exactly the same entry node every single time I use it. I am pretty sure that that's not how it used to be in the past. I feel a bit uncomfortable about it, so I wanted to ask for advice if it's just another security improvement that came with v4.5.3 or if I shou...
I've been wondering about how large online software companies, specifically those based around a single massive product, like Google, Facebook, Yahoo, etc. handle the risk of terminated employees. Any employee with sufficient knowledge of internal security could potentially use this knowledge for vengeance against the ...
By default NMAP does reverse DNS resolution for a given IP which responds to the host discovery probes. My question is, what are the benefits of getting the host name when performing a network scan?
Disclaimer: this exploit is purely for educational use. In this exploit I play the role of the victim and the software exploited is written by me alone. I have a simple HTTP server that I want to exploit with a buffer overflow attack. I am sending a maliciously crafted HTTP request that overflows the buffer of a reques...
I'm concerned about the security of part of my home setup, but I'm quite unfamiliar with a lot of this so I thought I'd start out by saying what I'm trying to do, in case my solution is a poor one in the first place. My home network is pretty simple, ADSL modem connected to a wireless router. Synology NAS is wired ethe...
Trying to work with John 1.8.0 Jumbo 1 I noticed that OpenCL won't work for me. I used autoconfig (meaning configure and build with the option to enable OpenMPI) in order to build JTR for my Mac Pro. In order to have a chance to crack a specific agilekeychain hash I used (folder is the run folder): ./john --test --form...
Would a pentest initiated from a VM mounted on hard drive be more or less anonymous to IDS attack or forensically traceable? Please note: I will be browsing via tor and kproxy and have all that setup. So, again, the question pertains to the relative increase/decrease in security which a VM offers. This question is bei...
I'm setting up test machine for my engineer work, to check GSM security and SMS interception. I already have an N210 and read a lot of documentation. There are some questions I have but can't find on internet: Kraken works only on ATI (or AMD, don't remember which one) and need to use old PC - true or false? If I rece...
Anyone have any experience in contacting the Adobe Product Security Incident Response Team (PSIRT)? I sent in an exploit that I found two weeks ago and I have not heard from them since. Would they contact me if they don't think that the exploit is worth patching?
Yahoo is trying to remove passwords from authentication and use on-demand password authentication system instead. I wonder how this new system will be secure? Even if somebody steal your mobile can easily access to your email with your SIM, or governments can easily use their power to login in your email by forcing ser...
When I bring up certificate details for a web page in IE or Chrome, I have the option to view the certificate hierarchy (under a tab called "Certification Path"). Here's an example for security.stackexchange.com: I originally thought that this was a summary of the exact certificate chain provided by the server during...
I have 2 routers. The first Router is connected to the Internet and the second one is an old model I found. Now I want to open a Wi-Fi Hotspot on the old Router without the Internet and connect my laptop to it through ethernet. From my laptop I also want to connect with WLAN to the router connected to the Internet an...
I've been provided credit monitoring and identity theft protection services from the company CSID. Their CyberAgent internet surveillance tool claims to "monitor thousands of websites and millions of data points and alerts you if your personal information is found being bought or sold online. We will alert you if we fi...
It makes a lot of sense for people to know the history of their profession from various points of view and I suppose especially in cryptography because people can still use old ciphers and no one likes inventing the wheel. So I am wondering does it happen in modern life that crytpo specialist have to deal with Vigenèr...
Yesterday I found out that some major service provider (online rentals) that I use now requires proof of my identity if I want to continue and make a booking. I was offered 2 options: Enter last 4 digits of my social security number and answer several questions. Scan some form of ID card (passport, driving license...
I was playing around with trying to figure out how my bank knows when to give me a two factor authentication prompt. I had originally thought it was based on my cookies and maybe my IP address. But the results have baffled me. In incognito mode, the bank asks me for a two-factor code every single time. This didn't surp...
Maybe I'm missing something, but this is "my problem". If you ask some company to create some domain for you and several e-mail account with that domain and forward that information to your gmail account. How do you forbids that the developer company/reseller can check all your mails? Practical example: I create employ...
From OpenPGP specification (RFC 4880) section 13.8 (Reserved Algorithm Numbers): The reserved public-key algorithms, Elliptic Curve (18), ECDSA (19), and X9.42 (21), do not have the necessary parameters, parameter order, or semantics defined. But GnuPG has ECC support. What they use as a reference? How other deve...
I have an Android app that uploads and downloads pictures from my dedicated server. However, before I go live, I want to know if there is some way I can secure the server to allow only my app to access and view the files on it. The app currently gets the files from the server through a URL. These files are sensitive an...
I was reading that WPA2-PSK encrypts layer 2 of the OSI network model. What is the danger of having this layer in plaintext (I know it can be decrypted very easily from within the network)? Is there a point to encrypting it when all higher layer traffic is visible, unless outside sources provide protection, i.e. HTTPS?...
I have made a site that is a hidden service on the Tor network. I was wondering if there any security risks by leaving metadata untouched for various files including but not limited to stylesheets (CSS), JavaScript, audio files and images. I would prefer if all clients on the website knew as little about me as possibl...
I have an attacker who got into my router; he seems to have hacked the Telnet client protocol. I previously had a Thompson & a Belkin. Both got hacked, Now I have a Netgear 4 cg3000v2 . Optus keeps sending me a new one, cause they keeps getting hacked. The settings I have put up are really strong, yet the attacker keep...
I know that this question has been asked many times, but would JavaScript encryption work if I just added 100 random numbers and letters to the password? That would be hard to reverse engineer, because it's totally random. I am making a WordPress and Joomla kind of service, and all the user's that download it do not ha...
I found a code by SMS or TOTP on a phone as a second factor of authentication to be a good solution for when you're using your computer to login to a website. Most people have a phone which can either receive a text, or can install an app. But more people are using their phone to login to websites as well. If you then ...
Lets assume that there is a bio-metric algorithm for user authentication which compares fingerprints with a user's signature saved in a database (comparing function is not important here). Next, there is a device with a fingerprint sensor and memory to hold the user's signature. Now we have two options: Put algorithm ...
I'm looking for a books about theoretical basis in log management, not about tools. I need it to write my master's thesis. I need books about: log sources, log collection storage techniques, storing logs log analysis (maybe statistical analysis, data mining) analysis techniques reviewing logs for potential problems, m...
I've already asked this question here but as of yet it has no views/answers. I was wondering if there is any way for Tor to detect high network usage in the context of transferring large files using a hidden service. If so, what are the default prevention steps?
I just got infected with "Crypt0L0cker" malware,virus or whatever that might be. They gave me a link (http://bica3zjnvl6fxkqf.tor-area.org/jrrk14.php?%20user_code=94aya99&user_pass=2616, the target site being suspicious the link is voluntary not clickable) to pay the ransom. I don't know if is the "real" "cryptolocker ...
I recently messed up with my McAfee Encrypted Laptop (2 Drives) and got MBR overwritten by Linux (Ubuntu). I used DETech CD on C: but after 2% it failed due to Bad Sector. Using a safety precaution i have cloned the drives using Clonezilla and the D:> i have restored onto the Virtual Hard Disk (VHD) I have also kept...
I need to convert a pcap-ng/ now a pcap file to a raw file for being able to analyse it with multimon-ng. Any recommendations? It should be possible, but I am not aware how it should be done.
I'm looking for a file encryption algorithm (or library) that supports efficient random access to the cleartext. That is, given an encrypted file, I need to be able to repeatedly read arbitrary byte-ranges from the cleartext with as little overhead as possible. The only thing like this that I've found is SQLCipher, but...
I have a Cordova app that transforms some images to base64. This violates CSP with this message: Refused to load the image 'data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encod…E%3C%2Fg%...%3C%2Fsvg%3E' because it violates the following Content Security Policy directive: "default-src 'self'". No...
I am developing a Web API which will back several applications: a website, a companion mobile application(s) and possibly several third-party applications. Every application is expected to get an access token from auth server and then feed it to the API, user will enter their credentials either on auth server web inter...
I'm reading up on CSRF and I came across synchroniser tokens. I don't understand why you can't do a CSRF to get the token to do a real CSRF. Example: bank.com has a form like this at https://bank.com/transfer: <form action="https://bank.com/do_transfer" method="post"> <input type="hidden" name="synchroniser_token" va...
In general, a person downloads some files from the Internet. Secure practice is to, at least, scan them before opening them. In light of this, what file types (i.e. extensions) should a normal user (not analyzing malware) scan with a commercial antivirus before opening? Preferably segmenting the answer per OS as: For A...
Several questions on this site address client-side password hashing, and none of them admit to any security benefit beyond protecting other sites the user might use the same password for. However, there seems to be one circumstance that has not been addressed, where I feel client-side hashing may improve security after...
Imagine you are a software solutions company. One of the solutions you provide are domains, email and forwarding mail to their Gmail accounts. After we have created a domain and several email accounts and the forwarding to their Gmail personal accounts. HOW can I formally and technically (not by "trust", and not by a "...
My bank issued a new security device replacing the Go 3 Security Token manufactured by Vasco and I would like to know if it could be used with my Google multifactor security or with LastPass as a YubiKey substitute. Inside the enclosure, the circuit board seems to have some sort of test/debugging port but it doesn't lo...
Lets assume i have found a xss on site example.com, now to trigger an XSS, i use the following URL: https://example.com/a.php?v=%22%3E%3Cimg%20src=x Which results in following response: HTTP/1.1 500 Internal Server Error Server: nginx Date: Mon, 27 Jul 2015 02:15:23 GMT Content-Type: text/html; Content-Length: 44 Con...
I was looking into storing SQL DB backups of a healthcare system in the cloud in the event of a disaster to be HIPAA compliant. The solution I came up with was to use Cloudberry backups. What I would want to do is export the SQL DB on my local computer, use a passphrase in the Cloudberry config and the highest encrypti...
This is a question derived from several others, and I can not comment on those, so it is not duplicated, please read: In some related questions some users comment that: "They wouldn't necessarily have to present untrusted certificates. Suborning an existing Root CA is trivial; as they are businesses like any other....
At some point I told a friend that it's dangerous to reveal your birth date (kind of like your social security number or your mother's maiden name), because it's a crucial piece of information for identity theft. However, I'm not sure what exactly an identity thief could do if the only non-public information he had abo...
Let say my local system's shell prompt is in this format: myname@mysurname:~$ Is it logged in some server when I login there via SSH/FTP? Or is it completely private information?
I wish to outsource a web site defacement monitoring services to a third party and am wondering how does this type of monitoring work? If my front page has a lot of dynamic components, eg image changes, how can such monitoring detect that it is actually a real hack and not my web editors changing the page for legitimat...
What do these regex commands mean? I found them when I ran the history command: grep --include=\*.php -rnw . -e "update.creditcard" grep --include=\*.php -rnw . -e "e41e" grep --include=\*.php -rnw . -e "nobugs.com" grep --include=\*.{php|js} -rnw . -e "nobugs.com" grep --include=\*.[php|js] -rnw . -e "update.creditcar...
Why it is not advisable to use JavaScript with Tor? Yet with JavaScript, you cannot get the IP address of the user except through an external website. How could using JavaScript with Tor expose one's identity?
I'm creating a reference network topology for a WebSocket chat application at work, and I'd like to have something clarified for my own understanding. The current topology involves a reverse proxy between the customer and backend where the customer connects directly to the proxy. The backend has firewalls that only a...
I read this article stating that purely through a website, "without any user interaction" mass router infection is (/was?) possible. I'm not sure that this problem still exists as it was posted 3 years ago, but I'm still curious. The article states: How could an attacker "own" a router? First, the victim would have t...
I'm looking at a scheme where users/servers post messages to each other. One of the main challenges is to prove "ownership" of a URL - defined as the ability to receive messages. This can be done with the following pattern: User A ---(JWT for https://somewhere/userA)---> https://other/userB https://somewhere/userA ...
I just recently read an article advocating the use of password managers, and while I understand why someone might think using these programs might be a good idea, it's my understanding that these types of programs can be a weakness to cyber security. I know that password managers generally store your password to an enc...
I am talking about something-you-know identification factor. Examples of those formats are passwords, passphrases, pin-s, picture passwords ( Link ). I am talking about the actual entropy that users need to remember, so "mothers maiden name" is weaker than random string of characters. About http://xkcd.com/936 : if the...
Lets say, I visited a "malicioussite.com" and the server had a "malicious.js" in it whose job is to write malicious code to my browser localStorage and save it to the my computer then execute it to infect my computer. I don't think this is possible but after researching a little bit I found this page which explains ...
I read about the release of a free dataset of malware related DNS queries called "Predict". A researcher or network security team can download or query this data set and use it to identify malware communication using DNS. Commercial vendors are already providing such services. I know of two ways that malware might us...
Some of our users are requested to click on an Earthlink antispam URL below https://webmail.pas.earthlink.net/wam/addme?a=USERNAME@earthlink.net&id=<SOME GUID> However our firewall policy is blocking this as category "WebMail". What is the correct way to handle this situation? should I allow this URL to pass as an e...
(I reposted here a question I previously asked in SuperUser, I think this section is more appropriate) Back in the days defining a path leading to loss of data or loss of online accounts was easy: losing the user/pass was enough. Nowadays with two factor authentication involving SMS or token generators, the analysis of...
I have been doing research on a custom WordPress theme. I'm not very familiar with this CMS and how it works on the inside: where should I start my security analysis? Should I look for SQL Injection (in the theme), XSS vulnerabilities, etc.? I tried WP-SCAN and some other scanners, but I found nothing suspicious.
I'm looking to do file encryption for small amounts of text (8-100 characters for each item being encrypted). Here's what I have: A secret passphrase and a salt. I Use Rijndael to generate a key and iv when encrypting text. I use the key+iv to encrypt the text. I store the iv+encrypted text as the cipher. I HMAC the r...