instruction stringlengths 24 27.2k |
|---|
In the openssl.cnf file, I see fields like countryName, stateOrProvinceName etc which are typically present in the distinguished_name. Where can I get a list of fields which can be added to the distinguished_name?
I want to add a mobile(cellular) number to the distinguished_name. How do I go about doing this?
I trie... |
According to Chromium Blog, Google Chrome 39 with SHA-1 certificate will show a yellow icon, but my Google Chrome shows:
Google Chrome (39.0.2171.99 (64-bit) on Ubuntu 12.04)
I've confirmed it's SHA-1 by OpenSSL:
$ openssl s_client -showcerts -connect www.google.com:443 2>&1 < /dev/null | \
openssl x509 -text | \
g... |
How can I defend against Heroku (or any PAAS) ID theft?
Is it correct to assume that if someone obtained my Heroku credentials that they would have access to any data in my app, regardless of any encryption that might be in-place, due to the fact that they could access my source code, database & environment vars?
If so... |
I am confused about Operating Systems scanner vs Network Scanner. Usually a network scanner such as Nessus can already check for operating systems vulnerability. So what does an operating system scanner do? Any ideas? thanks.
|
Maybe a silly question. When opening a new tab via target="_blank", the page that loads in that tab is allowed to set a new location in the parent tab using:
window.opener.location.replace('http://www.google.com');
Does this not violate the Same-Origin Policy? I could easily point that redirect to a malicious site tha... |
A website I'm looking at for my colleagues has a parameter which is number|number
Where the likely values will be 1-99|1-999 (e.g. 14|234)
How do I configure burp to try all possible values? (Would this be the intruder tool?)
Burp Newb!
|
I need a solution to encrypt USB communication between device A and device B. I was thinking about configuring each device with a secret RSA-2048 key, which would be used to exchange an AES-256 session key.
A and B are pre-configured with secret RSA-2048 asymmetric keys.
A sends an unencrypted message to B indicating ... |
When you use a mobile app that needs Google OAuth login, you can't fully trust the third party app because you can't tell what url the webview is using. Who knows if they aren't storing my login and password on their server, then passing it to Google OAuth.
Does changing your password immediately after OAuth login help... |
A recent discussion on another website prompted a proclamation that storing (TrueCrypt, LUKS, DMG, etc) on cloud sync services like Dropbox is unsafe, since a version history is kept of each file, and that the change in the encrypted volume as files are added/remove/changed can be used to leak private information.
Some... |
I am about to move in a new house, and I would like to install some security cameras.
The contractor told me that in order for me to check the videos recorded by the cameras in real time when I am away I'll need to have a static IP address.
Are there problems with it? Is it less secure?
I am not a billionaire or famous... |
What is the proper way for two parties, say A and B, to communicate securely where:
Communication between A and B must be secure so that only they know the content of the communication.
A isn't necessarily endangered if it is known that they communicate anonymously with 3rd parties.
Knowledge that B is communicating a... |
I am trying to penetrate a password on my own website using hydra.
Let's say that I know login and password and i just put both there like in sample below:
hydra -l admin -p password 123.123.123.123 http-form-post "/index.php:userinput=^USER^&passwordinput=^PASS^:password is wrong"
After attack like this, hydra says t... |
For a web app, the client side is javascript in the browser. The server side is ASP.NET with a REST API. At present there is a single server but we plan to scale out with a server each in the US, UK, and AUS (on Azure). We'll have redis (but that does not sync up instantaneously). They will (almost) always be using SSL... |
One thing that I have seen commonly used by game cheating engines it to control variables that the game is using. The idea is to edit the variables used by the game to say, give ones self unlimited ammunition. One example of this type of tool is tsearch.
I have no idea how to replicate this attack on my own, nor what... |
I would love to know, If there is a way to mitigate DDos/Dos attacks on Windows. In Linux we can Mitigate using the almighty iptables, but I wonder if there an equivalent for Windows.
|
I am a newbie to hashing, and I understand that MD5 (I know it's broken) and SHA-1 are all fixed hashing algorithms, but given that most passwords are dictionary words or other similar passwords, what's the point of storing it in a hash if an attacker can use Google to backtrack the original password?
I mean, isn't SHA... |
My question is can a malware from my affected phone "upload" itself to the ACTUAL REAL mobile base station from the service provider, and regain back to my another phone with the same number (same identity code), but different SIM card (just same number, same identity)?
My situation: I am using a smartphone with SIM ca... |
What is the in-depth working mechanism of SSL offloading/termination?
I could not find literature that would dive deep enough into the subject.
Assume the following example, where a intends to download a resource on the webserver (the client is not aware that an SSL terminator is installed).
Client++++++++++(SSL termin... |
Is it possible to mix a Wildcard SSL for subdomains and an EV SSL for the www and non-www domain? I know that an EV SSL can't have a wildcard.
Example:
hello.test.com -> wildcard ssl
hello2.test.com -> wildcard ssl
www.test.com -> green bar ev ssl
test.com -> green bar ev ssl
|
I've created a few encrypted devices with LUKS and cryptsetup on Linux and am pretty comfortable with disk encryption in this regard.
I've seen it mentioned in many different places that when setting up a LUKS partition/disk, it is advisable to first overwrite the entire partition/disk with /dev/urandom. I've seen a fe... |
So, I understand DoSing to an HTTP Server. I understand Layer 7 DoS attacks and how to even make these work.
But what for an normal IP that isn't HTTP and is connected to the internet. Is the only way to attack them is by a bandwidth DDoS, which can be only done by more than 1 computer?
Pretend, I had my next door neig... |
We need to be PCI compliant for a small setup.
We need to share a folder which should be accessible by other regions as well.
We have Private MPLS Connection.
PCI users will be having only READ access.
The File server will be in PCI ZONE.
Question is Can we share folder across regions?
Is it compliant with PCI?
|
We have a requirement to allow users to upload an XML document into our system. We don't process it, we just allow them to download it again.
Given various browser XSS vulnerabilities such as this: http://webstersprodigy.net/2012/02/04/serving-back-xml-for-xss/ (various flavours affecting IE, Chrome and FF)
What is ou... |
A web server inside the office network which is accessed by staff internally and the internal DNS resolves web.company.com to the server's LAN IP.
Publicly, company.com nameservers belong to their party hosting company where the main company website is hosted and it does not have web.company.com record.
Now if the web.... |
As far as I know, a determined attacker would have no major issues in hacking the IP address of the packets contained by his (web) request.
Therefore, I cannot see how an Access Control List (such as the ones listed below) might improve the security of a server, as determined "users" can simply bypass the restriction.
... |
A PHP application that I am currently testing returned and error page when the value of session cookie is set as a huge string. It leads to information disclosure also. What can I recommend the developer to prevent the generation of error page when the cookie value is overflown?
|
Excuse me if I posted this here wrongly, I know the question is partly about haproxy itself.
I am setting up haproxy as an SSL terminator/load balancer in front of an API that we need to expose over the internet to a customer.
The plan was to use mutual (2-way) SSL/HTTPS to verify that both parties are who they are sin... |
How the security certification works if the software uses third party libraries or services?
E.g., if someone would like to certify a software product following Common Criteria standard (let's say, CC EAL1). And the software uses:
1) authentication service provided by third party.
2) different libraries, e.g. for data... |
I'm developing an application. The user must enter his credentials which will be sent to the server. If the user opens the application a second time he shouldn't need to enter them again - credentials should be stored on user's machine. Also this data can be passed around. My app is cross-platform so I'm searching for ... |
I am trying to understand the includeSubDomains directive in the HTTP Strict Transport Security standard. In particular section 14.4 of RFC 6797 confuse me.
Point 2. says
The HTTP request sent to uxdhbpahpdsf.example.com will include
the Secure-flagged domain cookie.
This seems to imply that if a domain cookie has be... |
Can I determine the actual sender of a spoofed text message? I received a text message yesterday that appeared to come from one of my contacts, but he did not send it. I contacted my carrier (Verizon) and they said that because the sender used third party software, they couldn't tell me where it originated. But they di... |
What information do you have to keep about a user to be an OpenID consumer?
I want to use OpenID to let users register and authenticate on my system. So while I'm at it I want to not duplicate effort, and eliminate unnecessary passwords, etc from being stored.
I assume that besides the user's Profile details, you woul... |
I was studying different WAFs, from open-source (such as ModSecurity and NAXSI) to commercial solutions (Imperva, Citrix, Fortinet, etc.). Many people state that having a whitelist-based WAF is far more efficient than blacklist.
I basically understand why a blacklist can be obsolete (even if in the case of bots it can ... |
So, i understand that we should always use padding on RSA so that if we send the same message with different keys, the Chinese Remainder theorem can not be used to decrypt it.
When looking at the padding schemes (OAEP) I do not get however why to use complicated hash functions when we have randomness introduced anyway.... |
In SQL injection an attacker can craft a string that if left unchecked and executed it can complete and execute arbitrary SQL commands.
Is there an equivalent to these kinds of attacks in JSP pages? Specifically, is an error handler, which only prints URL-passed parameters on screen, capable of executing arbitrary code... |
If a system becomes infected and does not have any other storage units besides the one hard drive.
Is it there any other way for a rootkit to stay on the system besides infecting the BIOS OR the MBR of said drive after a 'nuke from high orbit'?
|
I'm a developer working on a website for the first time and have a question about new user activation.
The way our site is setup now a user creates a new account and they get emailed a temporary password. The temp password gets hashed then saved in our database. The user logs in and they are told to reset their passwor... |
So I've been reading my spam lately, and today I received this:
To: my actual email, but with a name found here: tel2name.com (only hit on Google)
Subject: one seemingly random excerpt of a web page found here: (only hit on Google) http://firstcommercialcreditcorp.com/commercial-property-values-increase/
citing "RCA... |
I just found this vulnerability on http://www.securityfocus.com/bid/36363/references, which affects several samba server 3.0.xx.
Can anyone explain more about this vulnerability? How this bypass happens if I do not allow anyone to access to shares without password, and possible counter-measures to this issue besides up... |
Does replacing the values of the nonces in messages 3 and 4 with the cookie values in the headers of these messages, give an attacker any advantage?
The nonce should be randomly chosen while the cookie is generated in a way that the attacker cannot predict. From the attacker's point of view, they might be interchangeab... |
Sorry for this probably noobish question. So far, I've read password comparison/verification is implicitly understood to be made on the application layer and not in the database. For example in PHP, it would be done using the password_verify() function and not via a query like
SELECT * WHERE username = foo AND password... |
I am frequently seeing websites that allows a user to log-in to their site using other websites log-on credentials. If there is a page that allows me to log-in using my google account or facebook account, will the former site could get my google/facebook login details?
|
I would like to know the feasibility of certain kinds of attacks. To be clear, assume the target is a high-level priority of the NSA.
Is an OS such as tails useless against root-kits/keyloggers, etc? As far as leaving no trace on computer?
Could such malware/root-kit be transferred to a computer which has never been c... |
I was reading about PwdHash and it inspired me to create a little project where you input a master password and an easy to remember alias into a password hash, like bcrypt, and then you get an hash.
So far so good ; that hash should be pretty secure and no one should be able to guess my master password from it.
The pro... |
I have an server which contains around 4 instances hosted on it. I am aware that if a DoS attack happens on one of the instances it will take down all the other instances too. How to prevent such a failure and harden my server?
|
I read many questions and answers on this forum stating that oAuth is for authorization, OpenID is for authentication and more than a few of them goes on to say that OpenID Connect provides authentication by abusing oAuth authorization.
Why the derogative tone? There is a very strong implication that this is bad, but ... |
My Gmail told me someone tried to login with the correct password. But Gmail blocked it because the IP address used is different from my IP address. When I looked up the IP address that tried to login to my Gmail, it was the IP address of my shared hosting.
How is this possible? I don't remember connecting to my shared... |
I am developing a webserver and provide an API to be used by mobile clients.
Some of my calls are without any authorization, for example, to start the authentication process.
Is there a good way/best practice to verify that these calls are made only from the device?
For example, my authentication process used a 3rd par... |
I work as a programmer ,i want to make sure that no remote access tools RATS are on my pc before i work on my new project. it happened before that after finishing a hard project, a hacker went on my pc and stole my code and started black-mailing to give it back.
|
I have a back-end (API) and a front-end, eg a web server, and I have users and ID-providers.
The web server is provided by a third aprty and it may just as well be a mobile app, but whatever the case is, the user uses it to access their data.
Generally the users will need the Application (Web of Mobile) to be able to d... |
Please some on help me to understand this
"Are you ready for this? With the two-factor encryption model your data is protected two-fold. First, a unique key is generated, encrypted, and turned into a token, which is then stored. This token can only be accessed by the administrator or end user providing his credentials... |
How do companies know when there has been a data breach?
For example, do they monitor event logs for login audits or do they wait until a paste is made of their data in a pastebin type site?
Is it possible that many smaller companies never know that their data has been stolen?
|
I have seen this question asked in different places, but have never seen a satisfactory answer:
On different computer builds, ASUS/GIGABYTE/MSI, I constantly have outgoing connections to XXX-XXX-XXX.deploy.static.akamaitechnologies.com over HTTP Port 80, and if the connection attempts are denied, the network card (or a... |
I recently came across an article on the The Verge, which centers around the concept of commercial malware production and how it's used around the world. The article introduced me to a number of interesting (and worrisome) concepts such as "process hollowing", remote access to hardware that's hidden from the system/use... |
I have a public pgp key, so that users can send me an encrypted message.
Ofcourse, any user that wants to send me a message, wants to verify that the public key (s)he has, really belongs to me. From what I have read, one can publish his public key to a trusted third party (for example: the MIT PGP Public Key Server). ... |
As part of an increase in the security measures for our company, we're moving to making sure all password logins (databases, servers, etc), are done through a password prompt and never using stored passwords. The hope here is that if a company laptop were to go missing, we wouldn't need to change all our passwords.
Is... |
When performing a format string exploit, how do you inject an address that contains 0x00?
#include<stdio.h>
int main(int argc,char *argv[])
{
char buf[80];
snprintf(buf, 79, argv[1]);
printf(buf);
}
How would you get a ret to libc if, say, the address of system is 00112233 (Little endian)
Where the addres... |
We have AAA services enabled in our organization (about 1000 clients). We want also to add otp (one time password) service. What are the main security concerns about integrating them. Is there any available solution (preferably based on Windows Operating System) available.
|
I have a pcap file and I am trying to analyze it using Snort and Wireshark.
When I tried the command, which I had showed below, in Ubuntu I was provided with various output such as the date, time, source host, destination host, protocol and there are some others like TTL, TOS, ID, IpLen, DgmLen, Ack, Seq.
Snort -r myfi... |
Are there any risks to using Google Analytics on my checkout page? The page is on SSL and I will obviously be serving the analytics script from their secured URL.
Thanks.
|
I'm working on an application that makes use of the Symantec Protection Engine to scan uploaded files. I'm having issues with my files after they have been scanned. One possible solution I've seen is to store the uploaded file in a temporary folder, then stream it to the protection engine. If the engine determines t... |
I've been working on the design of a longitudinal study and one requirement is:
all participants will have a unique identifier that
is not reversible from the data storage/analyst side of the study
is defined by something easily remembered by a participant that is relatively static over several years, ex. a participa... |
I am wondering what other people do for storing passwords. Our current model at my employer is fundamentally flawed in my opinion, so I am trying to see what other people do so I can select the best method.
Right now all of the passwords for everything are stored in an excel file that is in a password protected Dropbox... |
According to wikipedia or https://www.us-cert.gov/ncas/alerts/TA14-290A
this is an issue with the SSL v3.0 non deterministic padding used in CBC.
Is AES in CBC mode itself is un-secure or it is an issue only when used in SSLv3.0/TLS ? Can you please clarify ?
I use openssl (an old version before the poodle attack fix)... |
I have a website that allows the user to upload files. The front-end (web tier) checks the file extension and first few bytes of the file for the magic number of an acceptable file, but then downstream a more thorough backend process scans the full contents of the file using a server-side virus scanner and file content... |
http://forum.example.com/users/username-3723484
vs
http://forum.example.com/users/username
where username is specific to each user, as is its salt.
My hypothesis is that it makes it harder for spammers to collect information about someone by not giving a direct answer to the question: do you know user $login ?
If I ha... |
I'm looking for some advise on designing a secure web app for storing passwords. Why reinvent the wheel? Because I don't trust a 3rd party with all of my passwords.
Here are my thoughts:
There are 3 main components: Client, Application Server, Database Server. Ideally, I would like the system to be robust enough, so t... |
One of my organization's users just showed us an interesting problem: every message they tried to send (in OWA 365) contained the following scary text:
Your mailbox has exceeded one or more size limits set by your
administrator. Your mailbox size is 1098957 KB. Mailbox size limits:
You will receive a warning when ... |
This is MITRE's powerpoint presentation version of their report:
http://www.mitre.org/sites/default/files/publications/14-2221-extreme-escalation-presentation.pdf
Page 54 is a straight pull from HP materials describing HP SureStart. However, there is no indication if HP SureStart successfully prevents the described att... |
Obviously biometric security is a hot-button topic. I happen to attend a university with a well known biometrics department. (Which I'm not a part of.)
My problem is, biometrics has a large caveat: it can't be changed.
Once my fingerprint has been compromised, it is no longer useful as a security measure.
Realistically... |
Here's something that is bugging me recently: suppose that me and my friend establish an OTR session and - as a result of that - DH key exchange is performed. My friend verifies my key, but I cannot verify his fingerprint. Despite that, we have a secure channel over which he can send me one bit of information - whether... |
sorry if this question do not fit here.
I am at this moment making a website which is not finished at all.
I found some analytics for the site and found something strange.
I have 30 visits from USA, 8 from Germany, 1 from Russia and 1 from China. (I am Danish)
This site has not been published anywhere. Is it just a c... |
Can a registered 3rd party repo spoof critical packages (e.g libc6) and have them installed on apt 'upgrade' operations?
What are the best ways (configuration) to help manage 3rd party repos to constrain their capabilities.
|
I recently started using Firefox for Android and saw I can download pages as PDF and near every image or video for any site and I'm using that quite a lot so what is the risk of downloading such things from websites?
Lets say I download an image with embedded malicious code? Will malicious JavaScript or others be downl... |
Given a small website hosted on a small data plan, is it possible for someone to keep doing requesting for my website URL or just an image hosted on my website that will consume all my permitted traffic and make the host eventually close access to the website?
Or do hosts have a mechanism to defend against this?
|
Every hack happens because of a form of security vulnerability or another, and I feel that the best way to avoid/fix these vulnerabilities is to learn about them.
Is there anywhere on the internet where I can find case studies of high profile hacks? For high profile hacks, media outlets usually publish uneducated infor... |
In case of server SSL certificate it is issued by a CA which can then recall it until it expired and also the CA typically collects a fee for each certificate so it is interested in certificates expiring every year or so.
My question is about client certificates. Suppose I want to make calls to Azure Management API ser... |
There is a weird situation that I am stuck with regarding HTTP Basic Authentication.
Below is a hypothetical situation:
Lets say there is a certain domain, say https://myfacebook.com
and there is a certain URL as : https://myfacebook.com/view_my_profile?imgURL=anyImageURL that myfacebook.com has designed so there users... |
In Kali you can:
airmon-ng start wlan0
ifconfig mon0 down
macchanger -r mon0 (-r changes mac id to a random number)
ifconfig mon0 up
This attack for example: aireplay-ng -0 2 -a [ap mac #] -c [client mac #] mon0
While using snort it detects the attack but with the spoofed mac.
In wireshark focused on mon0 you ca... |
I'm developing a quiz with which you can win a few cool prizes. Therefore I'm afraid, that someone might try to hack/manipulate it.
All participants have to be logged in and the website takes 15 questions from the db, gives them to Javascript, which paint's the quiz then. When a user finishes all questions or answer on... |
I don't know much about network engineering since I just started becoming a programmer. The situation is, that my company has a web-interface hosted on one of our servers that is connected to the internet. Employees of the company log into the web-interface with their password and fill out a form/upload data. Now i wan... |
Wikipedia states that md5's collision resistance is 2^18 (https://en.wikipedia.org/wiki/MD5).
I just found out that openssl enc uses md5 to hash the password and the salt. Let's assume that I want to use a 27 char random password (62 char alphabet).
That would yield 62^27 = 10^48 = 2^160 possible passwords which will ... |
I am analyzing a mobile application, which has embedded files(Worms) to attack a desktop OS. But this application does not do any harm to the mobile platform. Mobile is just a medium to deliver malware to the PC. If we connect mobile to PC then worm will infect PC.
Can it be considered a cross-platform attack, even whe... |
I have a Debian Linux server which runs a few online game services. I have some competitors in this area and I think one of them is behind the DDoS attacks.
I have full access to the router, so I set a few connection rules in Winbox which can detect and drop the DDoSer IP addresses but I think it's not the best way to ... |
I am looking to improve the security of an existing REST API accessed over SSL. The web service is multi-tenant, such that each tenant has an assigned TenantId.
The problem I facing can be summarized as:
How can I determine the tenant?
How can I determine the client is legitimate?
Is HTTP cookie based security suitabl... |
So I cleaned up some malicious PHP scripts from a client's site and I've been monitoring for follow up connections to the scripts. Of course, I've found a LOT of IPs requesting the files. Too many to try and blacklist and too many different netblocks to block at a high level.
I'm thinking about redirecting all sub... |
I have servers on a LAN reporting my laptop with a bogus hostname. This is making me suspect a man in the middle attack.
Here are some details:
From an Ubuntu Linux 14.04 laptop, I logged into an Ubuntu server to do some bandwidth monitoring with a tool call jnettop.
jnettop lists all computers connected to the server ... |
If you visit a site from your desktop, and use GA to login, you create an airgap.
But if you visit a site from your mobile, and use GA to login, in what way are you still protected from Android malware?
|
We're using this powershell script as our Azure Cloud Service (PaaS) startup script and we're at an A- on the Qualys SSL Labs test
Specifically we're losing points for the following reasons:
Forward Secrecy : With some browsers (more info)
Downgrade attack prevention : No, TLS_FALLBACK_SCSV not supported (more info)
W... |
Does SafeBrowsing actually work with the URL paths or does it only look at the domains? If it is just the domains, does it also look at the subdomains or are the results for example.com and x.example.com going to be the same?
|
This is related to Converting keys between openssl and openssh .
I have private keys generated by openssl that I want to use with SSH for connection authentication. I have no issue using ssh-keygen to generate a public key. However, I'm now trying to use CA certificate signing as I'm dealing with over 100 machines th... |
I have the following situation: I have an app on a User device, and my main server. The app can send the main server pdf-files and jpg-files. Now my problems are:
-> What is the best way for the server to make sure that only pdf-files and jpg-files arrive?
-> What is the best way for the server to make sure that only f... |
I have a pcap file, and what I wanted to know is how can I apply the Snortrule below which I've already written within the rules folder in my log folder:
alert icmp any any -> any any (msg:"TCP Packet"; sid:477; rev:3;)
How can I execute this rule over the pcap file I have?
|
I give a contract to find vulnerabilities in my site to a white hat hacker. According to him he performed several attacks on my site for 15 days and find that there is no any security threats. I am not sure he actually did this or not. How can I validate his report?
|
The site I want to use says that it stores permanent cookies on my computer to track various things, for instance if I have two accounts with them. It says "Please note
that if you set your browser to disable cookies, you may not be able to access certain parts of the Site for example applying for a job or posting a jo... |
I currently don't use Tor and I have VoIP - a physical phone using a provider's VoIP service over my Internet connection. If I install Tor, will I still be able to make and receive phone calls with my VoIP phone? I am not concerned about the privacy of the phone calls, I just want to be able to use the phone.
|
I am implementing a REST API for our mobile applications in which user will login using the SDKs of various social media. Currently, the login strategy is as follows:
The token(s) (access_token in case of Facebook, access_token and refresh_token in case of Google+) being generated by the SDK are being sent to the logi... |
I've just made the prototype for my new secure password-based authentication method, but there are several doubts about chosen size of password and alphabet. The method is simple - user calculates the checksum of his password (sum of positions of these symbols in different random permutations of the chosen alphabet. So... |
I have tried to implement a downgrade attack against the SSH protocol as the first steps (encryption protocols exchange) are not signed, as per RFC4253.
The idea is to intercept (mitm) these steps and replace strong algorithms by weaker algorithms supported by both sides.
The replacement is working well, and server and... |
We want to implement a "safe mode" in a Markdown parser called Parsedown. We have a MarkupEscaped option that disables HTML input, but this is not enough. In order to be safe, the parser needs to sanitise user generated attribute values.
These are the:
href and title attributes of a tags.
src and title attributes of i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.