instruction stringlengths 24 27.2k |
|---|
It been known for quite a while now that SSL is more of a security-illusion than a real one.
As it's not completely useless, and there's no real alternative at moment (though convergence looks interesting), I'd like to try using a "minimal" set of CAs, assuming that the biggest 3 will cover ~70% of the internet, and al... |
I am implementing bcrypt for java as found here. Before the actual hash takes place, line 455 of this implementation takes the raw String password, and transforms it into a byte array like so:
passwordb = (password + (minor >= 'a' ? "\000" : "")).getBytes("UTF-8");
So when minor >= 'a', as is always true for this impl... |
If a computer is switched off, the data can stay in RAM memory for a while; decaying over about 5 minutes. This can be made longer by cooling the chips:
https://citp.princeton.edu/research/memory/media/
This makes it possible to do a cold boot attack on cryptographic keys.
There is TRESOR which stores the secret key in... |
We are designing the security for a B2B Saas service, the user and admin accounts are based on the customer's email addresses - typically our customers are small organisations without their own in house IT people etc
We need a secure way of verifying a request to create a new administrator account when the customer i... |
I'm searching for a 256-bit full disk encryption software that allows me to access different content on the same disk with different passwords. Like: Password A opens partition 1, password B opens partition 2, password C opens both partitions. Same principle with folders would also be sufficient. Is there a software li... |
I am managing a couple of VPS-es on an old platform I would like to no longer maintain. We used a widely used commercial VPS control panel to create the VPS-es in question.
The customers may access their VPS-es with root access.
We got a high availability cloud on VMware vSphere, and would like to use VMware to ho... |
I have the backend api of an iOS application. I would like learn api testing on this.
How to begin with api security testing?Please suggest some tutorials and tools available online.
|
I am begining with network security and after studying for a while about often used technologies I got to this architecture for my home server (sorry it is not in english).
I considered 3 basic general security principles for this 2:
Defense in-depth (many security barriers backing each other up)
Choking point (a narr... |
I need to create my own CA for an intranet and unfortunately it seems there's no good answer about this on Security.SE.
There are many resources online about this, but all of them are different and some use outdated defaults (MD5/SHA1, etc) which doesn't seem that trustworthy. There are also hundreds of different varia... |
I have a very basic and simple question about two security concepts.
Both encryption and access control are used for privacy and to prevent unauthorized users from accessing some object (eg. files, processes, etc.).
What is the difference in practical environments? When do we use encryption and when do we use access co... |
I am designing a web application using Spring MVC with REST controllers and Angular JS pages which communicate with these REST controllers.
I've implemented a token based security/ authorization mechanism that is working. (This one is based off the JHipster token based security.)
This token has an expiration time (at t... |
Having trouble with GPG, isolating one set of subkeys from another.
In short, I generated a master key, then three subkeys:
Signing
Encrypting
Authorization
I can't seem to isolate the Signing and Encrypting private keys from the Authorization key. I've tried both:
Exporting/Importing only a specific private subkeys... |
I know in VMware workstation there's the option to encrypt a virtual machine. Is there a free way to do this without VMware workstation? I'm aiming for the fullest encryption and encapsulation possible (so full disk, but it would be nice to have temporary files created when executing the virtual machine encrypted too).... |
I am trying to do a security evaluation of an android application. I came across a situation where one of the activities of the app displays certain form fields in a webview.
This form is very straight forward vulnerable to a reflected XSS. An attack vector as simple as "><script>alert(1);</script><div is a sufficient... |
Wanted to test specific hidden fields with different values for each with test case of cross site request forgery. How would one do so? Both manual and an automated approach would do.
Exclusion lists for such test case:
Burp Suite
CSRFTester
Have had tested with them, get's tedious and inefficient.
|
' 1=1 GROUP BY CONCAT_WS ('~',version(), FLOOR(rand(0)*2)) having min(0)
1>> My first question is what is CONCAT function is being used for in this query
2>> And Why do we use having min(0) in here.
|
I have old system with database that has table with column of type char(20) and the customer decided to encrypt that column for some business needs however for some system integration needs the length of the output column to be similar to input which is 20 and I have read about Format-Preserving encryption
My questio... |
I have used SQL Server database with data to be encrypted and I will use symmetric key for encryption and will encrypt it by asymmetric key now comes the question how to give user permission to encrypt and not to decrypt
I have found this article that propose creating two procedures and use them as security mechanism h... |
This is a sort of design review question that I'm hoping is suitable for this site.
I am designing a system that uses a cloud service to establish a secure connection between a PC and a mobile device. Security matters hugely, but so does ease of set up. The current idea is to set the entire account up on the PC complet... |
I am looking for a simple list of all extensions, preference, custom processes, and "flags" that may disclose a user's privacy or other details to a 3rd party.
To that end, I discovered: chrome://net-internals/#modules which seems to accomplish this.
Is that URL a complete, full, and accurate list of every process with... |
Now that Null byte injections no longer work on PHP, what are the alternative attack strategies used by attackers for remote file inclusion ?
|
If i have a SHA-256 hash and I know what could be the crypted string is it possible to decode it faster?
Lets say I know the string is formed like this : %d-%d-%d-%s
%d being numbers from 1-25
%s being a random string.
Is it possible to decode the numbers?
|
I just learned about Kon Boot (from this YouTube video) and am wondering, how is such a hack tool guarded against? In the video the presenter claimed he had full disk encryption but was still able to by pass the password from booting to the USB stick and then had access to the files.
Would such a tool be able to hack a... |
I was visiting an office recently where one computer had become infected with a ransomware variant and turned off until the 'network guy' could come take a look (I don't know which one as no one took an image of the screen or was at all knowledgeable about security issues).
If the infected computer is on an ethernet ne... |
My bank uses a security system based on a card reader for online banking. The card is the same as used for ATMs and payment in shops. There are several known attacks on this system, for example as descibed here and here.
I do not have detailed information regarding the readers used by my bank. What I know is:
They can... |
I am trying to figure out how the above concepts fit in together.
As i understood it Security Requirements Engineering (SRE), Risk Analysis (RA) and Threat Modeling (TM) are methods that ultimately allow an Information System to come closer to the desired security goals (CIA Triad, IAS Octave or whatever).
My question ... |
I have a function that takes a pathname and substitutes every occurrence of '%u' with a given String. For my scenario this given String is the login that a user/attacker enters via ssh during authentication. The pathname (including the '%u') is fixed and cannot be changed by the user/attacker.
Lets say the fixed pathna... |
Despite the fact that Email standards such as MIME don't specify any file size limits, but in practice email users will find that they can't send very large files(more than 20 or 25 MB).
Some experts say that "you can safely send files upto 10MB between any email providers without the fear of message not being delivere... |
In the SSL handshake both the client and server generate their respective random numbers. The client then generates a pre master secret and encrypts it with the server's public key. However, why can't the client just generate the pre master secret and send that to the server? Why do we need a client and server random? ... |
We are updating our wildcard certificate and see that we have the option to use both RSA or DSA with Symantec (for free), while Digicert offers 3 options for wildcards ECC, DSA and RSA.
Is there a compatibility matrix for which browsers support ECC? (or the others)
We only support TLS1 and newer, so this may make ECC s... |
In the comments to Creating my own CA for an intranet several people strongly advise against creating your own CA for an intranet.
Especially:
don't do it. Nope. Bad idea. Buy $10 CA signed certificates instead. Don't be your own CA. No. Nope. Bad idea — KristoferA
But also:
echo "Abandon all hope, ye who enter her... |
I travel a lot, so I most of the time get Wifi from Hotel or Cafes.
I payed attention to the fact that some Wifi does not have security password !
Here is a screenshot of the type of security I found :
I usually trust WPA2 Personnel.
Please, I have heard that it is possible to "sniff" the network packets if the hac... |
I own a website. Now today I find that when I load the site, Chrome shows "waiting for xxx.com" and some other unknown sites.
I never added content or links from these sites.
The website is running on WordPress.
What can be the cause of this issue?
|
How does union select statement output vulnerable columns in sql injection
Consider a SQL vulnerable site.
Let the number of columns in the query be 3.
So the statement goes, www.test.com?php.id=-1' union select 1,2,3 --+-
My understanding of this statement is like this.
There are 2 statements
Union is used to join bot... |
I set up SSL connection on my apache web server and I just would like to find out is it enough to secure my connection between the MySQL server, the apache web server and the user's device. Because I can set up SSL connection on the MySQL server too. So, do I have to set it up when the database server is on an other co... |
I work with GPGTools under Mac where, after creating a public/private key pair for myself, I usually get .asc from other users, import it and then I'm good to go.
Now, I got an actual certificate from a user. I tried exporting the pubkey with
openssl x509 -pubkey -noout -in user.crt
but I'm then unable to import it in... |
I use a Kingston V300 SSD (specifically SV300S37A)
According to this answer
The 'best' modern drives support a vendor-specific secure erase functionality. Examples of this are Intels new 320 series, and some Sandforce 22xx based drives
My SSD supposedly has
SandForce's SF-2281 controller chip and
SandForce's 5.0.5 f... |
Can a website allow users to securely post anonymously, while still allowing these posts to be edited by the original author at a later time and preventing editing by other users?
In this context, 'securely post anonymously' means that an attacker with full physical server access after the fact (eg. government seizure)... |
At the end of the SSL handshake both the client and server send a MAC over all previous messages and the master secret. However, why do we need to MAC the master secret? The master secret is computed at both the client and server independently, and all prior messages are included in the MAC.
|
What are the security concerns of the following user account setups on a normal Windows 7/8/10 desktop machine compared to: Using a non-privileged account with a password and having an admin account with a different password.
Using a non-privileged account with a blank password and having an admin account with a passw... |
I'm setting up a physically isolated Tor system (with one computer serving as the workstation and another as a Tor gateway), and I'm concerned about methods a worm could use to infect my OS. In the event that my workstation is compromised and attempts to attack the gateway, what kind of attacks could be attempted? Woul... |
I am running on Windows 7, version pro.
I have just started paying for the vpn service ExpressVPN. From that point, I noticed that ExpressVPN software was running a nssm.exe process (non-sucking service manager), which itself was running a xvpnd.exe process. (I am using Process Explorer to monitor processes on my PC).... |
Is it possible to know firewall status using nmap? How?
|
From looking at threat modelling tools which are available (Microsoft SDL for Threat Modelling is probably the prime example) they seem to consider only threats at a low level, and I get the feeling that they are aimed primarily at developers.
On systems threats are not just from attackers, threats on the cloud can in... |
I'd like your advice on what is the best approach for the challenge in my hands...
I'm developing an extension to a 3rd party software. I'm doing my development using Python/Twisted/Autobahn. The end results needs to be a WebSockets Server that supports encrypted/secure communications. The users will receive this exten... |
I've been playing around with Hydra and .aspx site and I've hit a bit of a snag - Hydra responds letting me know that the first 16 passwords in my password list are correct when none of them are.
Syntax :
hydra 192.168.88.196 -l admin -P /root/lower http-post-form "/mmm/index.aspx:username=^USER^&password=^PASS^&Login... |
IFTTT looks like a powerful service but I'm also highly sceptical of its security. Could somebody give me a brief rundown of how you think it works and what the security implications are please? I've done some research myself but can't find a clear explanation of its principle of operation. My main query is, in giving ... |
Update:
Check the VyprVPN's app developer answer below, seems this is okay and an uninstaller is added to new versions to prevent such issues.
Original:
I was working with VyprVpn a few months ago, never worked with them again,
Today I installed LittleSnitch (An OS X Firewall and Network Monitor),
Noticing The Issue
I... |
I understand that separate web and app server can improve security. Your web server sits in a dmz and then there is firewall between it and the app server.
We provide solutions to clients within an intranet using windows authentication. Our clients normal have 100s of users and the information is sensitive but not cri... |
Sometimes it occurs to me, when doing something like a brew install, or really anything on a CLI (though I suppose this is also true of GUIs to a marginally lesser extent) that prompts me for a password - that really no effort is made to authenticate that it is the OS that has control of stdin.
It seems, to me at least... |
For our app when a user logged in we are issuing him a token which is stored in session and we are using $rootScope to store his details.
This what we are doing
if(sessionStorage.loggedIn && sessionStorage.token){
addonService.get({
customer_token : sessionStorage.token
}).$promise.then(function(data) {
... |
There are many methods to block unwanted outgoing requests. Examples include browser settings and extensions, and .hosts files. While DNS blocking won't affect direct accesses to a numeric IP address, it can be easily implemented to block entire domains and their subdomains, for an entire network as opposed to app-by-a... |
Today I went to log into my American Express Serve account at https://secure.serve.com/ and accidentally discovered what appears to be a huge hole in their login process.
Here are the steps involved:
Enter a valid email Serve email address into the Email box.
Type at least one character in the Password box.
Tab out of... |
In 2014, the New Zealand Internet Task Force released a set of guidelines for Vulnerability Disclosure: http://www.nzitf.org.nz/pdf/NZITF_Disclosure_Guidelines_2014.pdf
Part of the recommendations for site owners is the publication of a disclosure policy, in a public area, to state the company's position in terms of r... |
Limi1.com put up a malware alert on my computer, with an accompaining number to call. it stated for 29.97 it would be fixed. this was last night today I called my credit card, and was told a charge of $549.99 had been charged to my credit card from them. My question is ,I think you have 3 days to cancel any such charge... |
Are there any tools that would allow me to "manually" step through the network-stack processes of a device connecting to a network and communicating with other devices? Similar to using PuTTY to manually mimic a web browser through sending and receiving manual GET/POST requests, headers, user-agents, cookies, etc.
I'm ... |
I'm aware of this vulnerability via PHP's filter stream wrapper that is able to disclose PHP source code: file=php://filter/convert.base64-encode/resource=filename.php.
So I went ahead to guard against this kind of attack/exploit, by filtering for/away the "php" keyword, to attempt to stop any PHP stream wrapper.
Any i... |
I recently security tested my web application using Firefox browser and while pentesting my webapplication i noticed safebrowsing.google.com,while i diged more about it ,i could able to retreive only the following information :
POST https://safebrowsing.google.com/safebrowsing/downloads?client=navclient-auto-ffox&appve... |
I have a website with Joomla and 404shSEF installed. The component logs all 404 requests and the log is really interesting. The site is getting requests on components and also a file called this: "7c334.php". Here an example:
wp-admin/admin-ajax.php
wp-content/plugins/contus-video-gallery/hdflvplayer/download.php
wp-co... |
(Moved from Stack Overflow as other users said it was a security question)
I have a mysql database sitting on a remote server. Nothing else, ie no web site using it, no server side scripts etc, nothing except remote access from an application that I wrote myself in Depli. That application runs on about a dozen machines... |
To what extent a hacker can potentially cause harm to a server? Can you please give few examples?
Recently, there was a data breach in my website and
I found out this interface was public-facing and was curious to see if this could have been used for data breach.
|
I am building a web application, in which I am required to let user enter any character(even special characters - ~!@#$%^&*()_-+=|\{}[];:'"<,.>) in an input field. To mitigate the problems caused by them, I am taking care of two things -
SQL injection - using parameterized queries
Cross Site Scripting - HTML escaping... |
By visiting some websites, like bank websites, we can see for example: TLS_DHE_RSA_WITH_AES_128_CBS_SHA, 128 bits, TLS 1.0
I would like to know:
What does mean CBC?
TLS 1.0 is an old version, is there any reason not to use the latest TLS 1.2 one?
In an another example : TLS_RSA_WITH_3DES_EDE_CBS_SHA, 112 bits, TLS ... |
Today, when I did some tests and found out that Wordpress doesn't filter the post_title.
Respectively, I make posts with the titles:
<?php while ( have_posts() ) : the_post(); echo 'Post Title'; endwhile;?>
<a href="http://stackexchange.com/">Post Title</a>
<script type="text/javascript">alert('Post Title');</script>
... |
In Asp.NET you can use the MachineKey.Protect to encrypt data. We are thinking of using this to encrypt some data which will be stored in a hidden fields within a web page, these hidden fields are used when the web page is posted back.
I have read that when encrypting it is better to use a different Initialisation Vec... |
Other than requiring more server resources, are there any disadvantages of disabling RC4 from being using by an Apache webserver? My primary concern is preventing access from older browsers.
|
For the script at the bottom of this post, Firebug reports the following error:
This site makes use of a SHA-1 Certificate; it's recommended you use
certificates with signature algorithms that use hash functions
stronger than SHA-1
The error is duplicated for every call to googleapis, and does appear for links to... |
It seems silly to ask about using two-factor authentication without TLS/SSL but, I have a vendor that is using public IP without TLS and asking for login creds.
Would the login be more secure if two-factor authentication was enabled without TLS?
Using something like Google Authenticator and, knowing the keys are epheme... |
I assume that it was considered at one point, and that there's a good reason for not doing it, I'm just curious as to why. I'm sure that there are many people who struggle to remember a single password for a site, but aside from that, would requiring two or three passwords to login to a website really enhance security,... |
An attacker gets a list of hashed passwords. How does he know when he has cracked the password(s)? He can't try millions of times on the comprised account.
Attacker gets hashed password. How does he know that "pAssword" is the correct password and not "passwoRd"?
EDIT:
I'm so missing something basic. Let me make cert... |
Related to this other question about sharing the secret to sign the cookies, my question is more trivial: how really secure is to sign a simple cookie identifier?
In example, expressjs#session library requires a secret, but also says at the begining of the docs:
Session data is not saved in the cookie itself, just the... |
There are various security tools that allow an administrator to enforce only signed applications to run in a Windows operating system. is this a realistic general enforcement rule in a production server knowing that application signage is dependent on the application developer and it is not a operating system requireme... |
I've written an install script on a server to quickly set up new sites in the /srv directory. It needs to do a git clone, and has to be run via sudo in order to have the permissions to do all the things it needs to do (create directories in /srv, create a new VirtualHost, restart Apache, etc).
The question I have is si... |
I've been reading up-on DoS (denial-of-service) attacks within android and although I understand attacks like the below, which make use of regular programming functions etc.
(Android Web Browser) When an Android Device visits a particular webpage, that webpage can retain JavaScript which can using a large loop push A... |
Over the last few weeks I have seen dozens if not hundreds of break-in attempts from ip addresses which map back to secureserver.net. I know these are GoDaddy machines from the who is look up. Something seems to be going on with their network of machines. Every day I see a machine try to log in via ssh as root, admin, ... |
I just started studying Information Security, but I just ran this program:
http://www.sanfoundry.com/cpp-program-implement-rsa-algorithm/
and faced this strange thing. For small keys (don't try to run it for huge primes, it doesn't give good output), like 211 and 223, inputting a string like 1122 gives output of type a... |
I've been playing around with OpenPGP encryption for a little while. Here are the steps I've followed:
Generate an unencrypted public/private key pair in my keyring with gpg --gen-key.
Dump the public and private keys to files with gpg --export-secret-key -a > private.key and gpg --export -a > public.key.
Inspect t... |
The Job
You have the task of providing large files with sensitive data to people outside your company.
Limitations and mandates
Recipients of the data must be notified by email
The size of the files prohibit sending the data via email
There could be tens or hundreds of thousands of users, so making accounts for them i... |
I was reading through the OWASP Cheat Sheet and something mentioned in the "Weak Authentication and Session Management" row did not make sense to me.
It is recommended in the Design Column, that inbuilt session management should be used and that Custom session identifiers must be stored in the native session object an... |
We have an ASP.NET web app running in IIS, with about 200 users, some are inside our LAN and other ones are outside our LAN. Every user has a userid account and a password to login.
Besides those credentials, we want to add more security for accessing that web app with this requirement:
A user will access that web app... |
So I'm setting up one host to serve multiple SSL sites. I've been following various guides like https://cipherli.st/ and https://wiki.mozilla.org/Security/Server_Side_TLS and they both suggest to specify diffie-hellman parameters to get forward secrecy. So my question is: should I generate a new prime number for each v... |
I'm confused about algorithm selection for Cryptographic Message Syntax (a.k.a. CMS, PKCS#7) signed objects (RFC5652 Section 5.1).
The SignerInfo structure (RFC5652 Section 5.3) has two separate algorithm identifier fields:
digestAlgorithm for the digest (hash) algorithm and its associated parameters, and
signatureAlg... |
Assuming you have a list of possible recipients' public keys, and a ciphertext encrypted with one of those public keys, would it be possible to determine which public key?
|
I'm practicing SQL injection on a test bed where the OR and AND keywords are blacklisted. Using logical operators such as || and &&, I'm able to proceed. However when trying the query below, it fails.
http://localhost/testbed/index1/?id=-14' || (SELECT 1,TABLE_NAME,3 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA= ... |
Supposing that the user has the power to include any content after mailto: snippet, are there any possible security vulnerabilities?
Example:
The user says their email address is foo. The link on the page (which is visible to everyone), will be be: <a href="mailto:foo">foo</a>.
I'm interested to know if there is a way ... |
I'm working on a new site that uses asp.net identity to register users. I'm making use of email addresses as usernames and the email address has to be confirmed before the user can log in.
I've been working according to the spec and our organisational Password Management policy. The combination of the 2 would have me g... |
Firstly, I make the obligatory disclaimer that everything I am doing here is legitimate and pre-authorized, etc., etc.
For those unfamiliar with user session local file inclusion in PHP, there's a nice example of it here in section 2.2.4: http://www.enye-sec.org/en/papers/web_vuln-en.txt
I am auditing a Web service tha... |
Some attacks (e.g. BEAST, CRIME) are only effective against HTTPS.
Are there any cipher suites which are only "good" when in use over HTTPS?
Is there any "good" HTTPS cipher suites (i.e. ChaCha20-Poly1305, AES-GCM, ..) which is not "good" for other protocols like IMAP, SMTP, SSH, etc.?
|
Can an SSLstrip attack take place even if the client types https:// instead of http:// ?
I have read that an attacker can monitor for HTTP requests and redirect them to HTTPS. But I am curious to know whether HTTPS requests can also be exploited.
|
Title says it all really.
I realise I can Google this, but the top links don't cover all the new features I am aware of, so people will benefit from a canonical answer here.
|
I have question about if MITM works across remote systems?
Often, I'm doing internal penetration test, but I'm not sure about how to do MITM attack when I am outside from that network.
Does classic ARP+DNS spoofing work across remote systems?
|
There are several attacks types in computer security. For instance, zero-day attacks consist of attacks that use undisclosed exploits. In contrast, what is an n-day attack? Is it a security concern?
|
Disqus previously used the MD5 algorithm to hash users' emails. A group of Swedes used a dictionary attack to reveal the email addresses (and in many cases identities) of hundreds of Disqus users, many of whom had made right-wing comments(which are taboo across most of the western world). Anyway, I would like to know w... |
VST Plugins are DLL files available to be put into a folder in the Music Tool which then can use this as a plugin.
Does VST have a mechanism not to execute malicious code inside the dll file?
Can I safely install them without anti-virus?
|
I found in my searches that the padding oracle attack can be used against the RSA with PKCS1PAdding or OAEP padding, and I used this algorithm for a symmetric key exchange.
How can I prevent a padding oracle attack when using public keys for secret key exchange? Encrypt-then-MAC cannot be used because generating the ... |
A website takes the following request and sets the "_Add_User" as a cookie in the response:
Request
GET /cgi-bin/webscr?cmd=_Add_User HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=... |
I have a site on which I would like to prevent an unauthenticated attacker from knowing if an account exists. On the site, passwords are hashed using bcrypt, so login requests must do a bcrypt comparison (strength 12) – which takes CPU time.
My concern: the server response time varies depending on whether the user acco... |
I'm just a bit confused with VPN. My company has VPN when I work remotely. So, I can access internal websites. However, does it mean if I browse my Internet over my company VPN, it will be as secured as getting a third-party VPN provider? In terms of sniffer.
|
This is a question concerning the way the Cryptowall ransomware encrypts files on the victim's computer.
Someone knows if it is possible to recover the encryption key comparing the encrypted file and the original one (the same file without encryption)?
|
I recently bought a subscription to a NameCheap shared hosting plan, and I plan to primarily run MediaWiki on it. I've managed to setup everything fine except for the SSL encryption. When I visit my website (https://www.jcwiki.website/wiki/Main_Page), my Chrome browser tells me that my website is verified by "COMODO RS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.