instruction stringlengths 24 27.2k |
|---|
Here what I means by the two :
Session Authentication : Stored "Is authenticated" state in a session variable.
Cookie Authentication : Stored "Is authenticated" state in a cookie protected from temper by HMAC.
Question : Is there any advantage to one way versus the other one from a security point of view?
The best reas... |
I am writing an ASP.NET web app and am wondering if there is anything that is insecure to store in HttpSessionState.Session?
More specifically, is it bad practice to store such information as UserID, or security permissions in the Session? My concern is that this information can be spoofed by a user/hacker to give them... |
I've been reading about DNSSEC lately and had a question about DNS-Resolvers installed elsewhere on the internet.
If a client is using a DNS-Resolver that doesn't support DNSSEC will it fall back to using using non-secure DNS? Is this the norm now, or are most resolvers able to perform DNSSEC lookups?
|
Let's say that one does not trust ECC a lot, and values confidentiality over authenticity (perhaps simply for the reason that MitM is more difficult than passive eavesdropping and decryption later on). In this case one might use classical DHE for key exchanges, and ECDSA for signatures.
Is there anything problematic in... |
Are there any tools out there that can 'trick' keyloggers? I was wondering if there's any 'enigma-style' tools available along the lines of providing time-randomised keyboard mappings. For example:
If I want to enter my password, and the first letter is 'Q' then I would press Shift+Q
However, if Shift+Q is currently m... |
I am not an IT person so I'd need a simply-worded answer.
I'm considering getting a smart phone, and someone else would be paying the bill, someone I don't necessarily trust. I'd like to know: would they be able to listen to my calls, and if so, how difficult would it be for them to do so? (They don't have much tech ... |
I have two locations within the same firm that hold credit card numbers. I want to be able to "join" on credit card number to do business analytics after transmitting card number-linked data from one location to another.
The credit card number itself isn't actually needed to link the datasets. A token, with zero or v... |
I've been looking up on how to set up public key authentication between two hosts on my LAN. I am going to be using a pass phrase with my key pair.
A lot of tutorials instruct me to generate the key pair and send the public key to the target machine. Is it OK to send over my private key instead? Sometimes other hosts o... |
Does anyone recognize this type of spam?
NAME: Bagas
EMAIL: dq95zxm7l@gmail.com
PHONE: JCBUIR6ulwtO
COMMENTS: I must express apaotcipeirn to the writer for bailing me out of this particular scenario. After browsing throughout the the web and coming across notions which were not pleasant, I assumed my entire life was d... |
I'm planing to build a device (prototype) that act as a portable security gateway. To make this, I choosed OpenWRT running on Raspberry Pi with OpenVPN for VPN connection. My main purpose of this build is develop a unit (prototype), that single individual can use with easy configurations which protect him from DPI solu... |
I was trying to connect a server using a different port when the network seemed too slow. It gives an ECDSA key, while the previous key in the known_hosts is RSA. I refused to continue the connection and tried more times using both ports, and never got a warning. Finally I connected to the server using the original por... |
I had a website URL which was getting around 60 hits a day from typical spam suspects like buttons-for-websites & ***.semalt, etc, etc. So I decided that when I changed my hosting account I would also change my URL, which I have just recently done.
Thing is, my original URL has been completely offline for well over a ... |
A logged in user can get to a page https://example.com/some/page which has an input field and some buttons. When user enters something into this field and clicks away on anything, the page makes requests to https://example.com/data to check if requested object is available and returns false if not.
In this case the pag... |
I need to send a user a link via SMS that when clicked, and then when some demographic info is verified, will allow them to sign up for my service (which is a healthcare portal, so HIPAA/PCI/PII etc).
Once the link is clicked the code will appear on the web page in plain text.
I'm telling the busines that I want to enc... |
Is it possible to crack ransomware encryption if I have 2 versions of a file: before and after the encryption? Are there any tools for such a thing?
|
Someone in my neighborhood is using a WEP encrypted wifi router. I am not sure who they are yet, but if I find out, should I inform them of the security risks which that poses or are there any legal ramifications to doing so?
|
Besides following VMware's security best practices, are there any other recommended security technologies that are aimed at security and compliance in virtual environments? Vormetric comes to mind, but are there other recommended third party solutions?
|
Is there a way to create a peer-to-peer hosted website securely:
- Without Having a connection between the developer (host) of the website to the website?
- Securing some information the site uses like a database that shouldn't be plainly view-able by the "peer hoster".
- Having the website still run code (eg. possibly... |
I generated a key pair vis OpenSSH and later wanted to generate PEM encoded public key.
I noticed that generated public key differs when generated by OpenSSH vs OpenSSL when using same format name (PEM)...
After some testing (see below), I found that public keys are the same only when generated a) as PKCS8 in OpenSSH a... |
The 'root'@'localhost' MySQL account can only be accessed by someone currently on the server hosting the MySQL server.
Assuming that only the person or persons who are in charge of the MySQL server even have the password to ssh in, and given that the server is hosted on an internal network so that you can't ssh in from... |
One of the drawbacks of traditional steganography is that both parties need to exchange a secret key. Encryption had this problem too but circumvented this with public key cryptography.
Are there any cases where this has been done with steganography, where a message can be encoded with a public key and retrieved with a... |
I use a pre-signed URL approach for uploading files to a private S3 bucket. A CloudFront distribution is configured to use this bucket as the source.
The upload process is only available to authenticate users and is done in two steps:
Client requests for the pre-signed URL, my server generates the URL using AWS creden... |
I am trying to create a programming game where user-supplied programs compete in battle simulations, to be used as a tool to teach and practice programming. (It will likely be a turn-based robot simulation, but for the purposes of this question, it could just as well have been chess or checkers.) One major component of... |
In my app we are going to send encrypted data to the web service. I am using the following code to encrypt and decrypt the data -
public class DecEn {
private static final String password = "test";
private static String salt;
private static int pswdIterations = 65536;
private static int keySize = 256;
... |
I'm writing a password manager, right now for each individual site, I already used master password + random salt with PBKDF2 to generate encryption key to encrypt its password (each site has its own salt).
Is it still secure to use master password + another random salt with PBKDF2 to generate hash for master password ... |
I currently have a webserver running Windows Server 2012 which is running IIS as its webserver and using PHP.
Lets assume the a user is able to upload a trojan onto my server, either through a vulnerable hosted site or perhaps some other exploit.
If the user is able to find the site directory the file was uploaded to, ... |
When is the data on an Android phone encrypted? I am assuming here that the device is configured to have full disk encryption enabled.
Is it only encrypted when the device is powered off and decrypted when powered up.
Is it encrypted when the device is locked (equivalent to iOS NSFileProtectionComplete) and decrypted ... |
Recently I have received a link from one of my Skype contacts (infected by a computer virus).
The link looks like an Instagram one, but points to another site. How the attacker did this? How to create similar message?
Skype (version 7.7 (335)) message screenshot on Mac:
Update:
Some people think this question is not s... |
We are using two Debian servers in our company (with apache 2 as httpd) and our services are split between those two of them. One server has the website, the other has some minor sites under subdomains.
The idea was two use the obtained wild card certificate on both server to secure all our websites. I this possible, e... |
I'm noodling with the idea of managing SSH connections on Linux server using a program (not sure what it will be written in yet) that monitors inbound and outbound connections. Is there a way to detect an ssh connection before it is fully established. I'm looking for something that is event driven or another method t... |
In response to a statement elsewhere that MAC address filtering was essentially useless for protecting a wifi network because it was trivially by passable by network attack tools, I was asked if the combination of requiring a mac address and computer name (eg "Dan-Laptop") would work.
Having never seen this recommended... |
I receive a lot of requests on my Node.js server, which I don't understand.
On the picture, there are phpMyAdmin-oriented requests, that I understand as automated testing against phpMyAdmin.
But I also have testproxy.php and http://123.249.24.233/POST_ip_port.php requests on distant servers that I can't understand. Doe... |
I first thought all these terms were synonyms, but I sometimes see those terms used in the same document. For instance, on MSDN:
data origin authentication, which enables the recipient to verify that
messages have not been tampered with in transit (data integrity) and
that they originate from the expected sender (... |
In the wake of the Hacking Team breach on July 6th, 2015 [1] [2] I heard that some previously unknown zero-day exploits might surface (apparently one for Flash already has).
Once these exploits become public knowledge and before a patch that fixes the vulnerability is provided, how can I defend my system as a private u... |
I am studying for my CompTIA Security+ qualification and have come across the following question.
Question :
You are implementing a testing environment for a development team. They use several virtual servers to test their applications. One of these applications requires that the servers communicate with each other. Ho... |
TLS stands for "transport layer security". And the list of IP protocol numbers includes "TLSP" as "Transport Layer Security Protocol". These two things would leave me to believe that TLS is a transport layer protocol.
However, most people seem to talk about TLS over TCP. Wikipedia lists it as an "application layer" ... |
I have a project to do for my master's degree and I need to do a Java app which loads a file (read some attributes and copy the file to a working directory), basically any file, and make the working directory private. By private I mean to hide that directory in a way from any OS (well, basically Windows and Linux). I'm... |
I am very new in programming world so my question may sound weird. I am useing selenium to test an application, yesterday one of my colleagues found this issue that if someone enters this:
<script type="text/javascript"> alert("This is an example of what will happen"); </script>
in a text-box where they are supposed t... |
I'm posting this here rather than unix/linux, because the primary deal breaker here would be a deteriorated security layer.
I'm wondering if there are (noticeably) faster solutions available for transferring large amounts of data between hosts, when compared to scp? I don't want to compromise the security aspects of sc... |
-edit- After following a chain of links from this question I see this is similar/duplicate of Why should one not use the same asymmetric key for encryption as they do for signing? but this question is asking if there is a technical reason why we shouldn't and the linked is less technical and not exclusively to rsa
I m... |
Recently Hashicorp released a secrets management solution called Vault.
It is a free and open source general secrets storage and secret generator, acting as a Vault for passwords, encryption keys, and hash salts.
I am wondering if anyone has started using it, and what are best practices for using it?
Has anyone hear... |
Can someone explain why spammers use email injection? I am a victim and was wondering if there was any other malicious point besides annoying me and filling up my e-mail?
|
To the best of your knowledge, do images created with Photoshop and/or other commercial software embed any bits of information that can allow someone (governments, security agencies?) to trace the image back to the package & serial number the image was created with?
How hard can it be to do it?
|
So, I'm an idiot. I opened a javascript phishing attack file. I would really, really appreciate some help with decoding the Javascript to figure out whether I'm in trouble, and what sort.
I'm on OS X 10.9.5. I opened the file with both Safari and Firefox before realizing what I was doing (I'm older and not terribly bri... |
I am a prepper. I am preparing for a situation where there will be no rule of law and where I can't rely on the government for all my needs. This naturally involves storing food, water, and items for personal defense. I would like to know how to communicate during a time where the Internet and normal means of communica... |
Currently I have a cert (signed with SHA1) expiring soon and I have extended its expiry incorporating SHA2 signing algorithm. I have done this by creating another CSR using certutil command with the undocumented -Z SHA256 option. However now, some of my applications encounter problems and I have to revert back to SHA1.... |
Everything has been well for years and today I wake up with this:
A warning on EM Client (also got the same on my iPhone) that the certificate for googleapis.com isn't valid. And the certificate happens to be not to Google but to LiveBox emitted by Orange (respectively my box to connect to the net, emitted by my ISP!)... |
I know very little about hashes, but I was wondering if I know the first 20 digits of what got hashed and the first 8 digits of the hash, is there any way to figure out the entire hash?
For example:
This is what is getting hashed using SHA256:
G3f3xfxQCG4f438e18e3f7d0ff5fbb42d0e233b331829cc0e07df04255892b4c411ba78d6c98... |
I have a website using SSL V3 and since SSL V3 is vulnerable and dead, we want to upgrade our website to use TLS 1.0. Our hosting server is using windows server 2003 R2. Can someone clarify the following point:
Is there something called SSL certificate and TLS certificate or the same certificate can be used for both o... |
I have been reading a fair bit on OpenSSL vulnerabilities and the various SSL protocols' strengths. As far as I understand it any protocols older than TLS 1.0 are to be avoided at all cost (some would argue that TLS 1.0 should be avoided too since it's only an "upgrade" from SSL 3.0). I also understand that this is due... |
I want to know if I run OpenVPN when I want to log in to websites (like Gmail etc.....) is my username/password in danger? Can they monitor saved passwords in my browser or anything else?
I'm new to these things. Is there any security danger with OpenVPN for, for example, personal files?
|
I am migrating an old application which used MD5 hashing to Spring Security with BCrypt encoding of passwords. I want to encode the password on new user creation page, change password page and on login page before it is sent to the network.
I know HTTPS can solve the problem, but I am still instructed to encode the pa... |
A number of crypto-dongles make the claim that it is impossible to extract the stored private key once written.
Yubico:
The YubiKey AES Key information can never be extracted from a YubiKey
device – only programmed to it.
Nitrokey:
Other than ordinary software solutions, the secret keys are always
stored securel... |
Are there specific known negative security implications of including the IP address of a server as a Subject Alternate Name in the server's certificate?
|
How can I de-obfuscate this JavaScript? I see it opens a new window at www.google.com, but what else does it do? I can't open it in debugger it just doesn't work then? And is it malicious?
Here is the script: https://jsfiddle.net/hzqdty8e/ (It's to long to be posted here! It has 60000 characters) Post how you manage... |
When a key is generated with openssl genrsa, the encryption is selected with a command line argument such as -aes128. After the key is generated, we can see what encryption was used in the file. Ex:
cat host.key
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,AF4EBC2AE861F6FE8C751F7DAD5D47... |
I have HSTS enabled on several domains that I host/maintain, and I'm using free verified certificates from a provider that only allows encryption of the root and one subdomain on the certificate. They will allow multiple certificates to be generated for a given domain; however, all certificates are subject to the root ... |
How can I restrict users from spamming my web service by sending thousands of requests?
My web service is actually protected by a validation token only accessible through authentication, but I still can't avoid the fact that my web service will check if the token exists in my database.
I thought about saving the number... |
So randomly every now and then, when I click on a link - instead of opening it normaly, a new tab is opened and some website with "tracking" in the name (I haven't caught the full name yet, it's quite quick) a site called trackingclick.net redirects me to www.aliexpress.com.
I assumed it was because the websites I visi... |
I have setup Charles Proxy app and it can captures my https request/response sent through browser.
Now instead of using the browser, i have an app that setup a SSL connection to the server, and then the app construct a HTTP message and send over the SSL connection. I receive response from server so i believe everythin... |
I've been told by a CISSP that the .NET class Rfc2898DeriveBytes would not pass a security audit today because it still uses SHA1. It's reliance on SHA1 - even with the iterations - leaves it too vulnerable to brute-force cracking. For my own understanding and for anyone else who stumbles across this question, is Rfc28... |
What is the cipher used by windows Credential Manager to generate credentials backup files (*.crd)?
With a backup file from Credential Manager and the password used to created that backup file is it possible to decipher the file and read the stored credentials in plain text?
I have one password for a remote desktop tha... |
Over the last couple of years Adobe Flash published bug fixes for (zero-day) exploits so often, that the installation is already annoying. But why are exploits so often found in this particular software?
One obvious reason: as with all widespread software Flash is one of the most widely used programs and therefore a p... |
I have data stored on a device which I must guarantee integrity, for ease of explanation the data is like numerical field representing 'credit balance available'.
The device only ever interacts with a single computer; I therefore wish to verify integrity of the balance using a HMAC: the computer reads the balance and M... |
Assuming these hypotheses:
1) Your account isn't hacked (hacker has not entered your account directly)
2) Gmail encrypts via SSL end-to-end
3) The hacker is not Gmail or Google
4) There is no access to the machine from the hacker - he cannot install anything in your machine (no certificates, no keyloggers, etc.)
It is ... |
When using full disk encryption the bootloader is not encrypted thus allowing attacks like the Evil Maid.
My question is how can I secure myself from this? Can I encrypt the drive or store it in a USB?
BTW: There is no more news about the NSA HDD backdoors. Is there a way to secure against hardware backdoors?
|
I'm asking because it's one thing to eavesdrop on someone's email, but it's another thing to prevent your email from getting to your recipient. For example, I sent an email to a colleague and he and I exchanged several back and forth emails about the nature of our confidential project. I later discovered that my colle... |
I can't believe it happened to me but I entered Gmail account's user-name and password into a website as part of a phishing scam. I use Gmail's 2-step verification and have changed my password. Is my Gmail account safe?
I got an email from a friend suggesting I download a document. We frequently exchange articles bu... |
We have a web application in Linux (App A) using PHP and Zend and another in Windows using Asp.net C# (App B). They both access the same database. App B is for internal use only while App A can be used accessed outside our network.
We got a request to allow uploading files from both applications and should also be acce... |
Can I decrypt this hash?
Domain Cached Credentials:
MD4(MD4(($pass)).(strtolower($username)))
|
Say, I use a public WiFi connection to load https://google.com in the browser, and then continue browsing on that site for a few more pages (performing searches in Google).
Can anyone else (like someone using the same WiFi connection or even an ISP) view that I have visited Google? I don’t mean which Google searches I’... |
I've been reading up on netsplit riding (a.k.a riding the split) and according to multiple sources, it's only a risk to multi server networks.
Now I understand that a netsplit occurs when a node disconnects from the IRC network, so a netsplit is not possible on a single server network as there is only one node.
But t... |
I am using windows Data Protection API (DPAPI) to protect private key used in my application. I cannot hide entropy used in DPAPI call because my application needs to be open source.
Where should I store encrypted data so as to have app-exclusive access?
I believe there is way to do this ==> Ask Windows Credential Man... |
I just picked up a job for integrating Hushmail's Secure Web Forms into a medical website. The forms will submit patient's (PHI) data to Hushmail's servers, encrypt the data, and then send it to their Hushmail email account. Routing a form is accomplished by simply changing the form action attribute to https://forms.hu... |
I was experiencing very low connectivity on my wireless, so I checked the router logs.
Here's what I saw:
Jul 09 11:07:24 Per-source ACK Flood Attack Detect (ip=74.125.130.129) Packet Dropped
Jul 09 11:07:24 Whole System ACK Flood Attack from WAN Rule:Default deny
Jul 09 11:06:24 Per-source ACK Flood Attack Detect (ip=... |
I'm trying to create a POC for responsible disclosure, but I'm having an issue...
When I use a textbox to submit my payload, it brings me to another page where the javascript executes and is present in the HTML.
If I copy paste the end URL, where the payload is present, the part of the page that contained my vector is... |
Scenario:
We have two departments within IT; Say Department-OLD and Department-NEW.
A single internal PKI environment exists and a root CA (singular) is trusted by All endpoints.
Problem:
Department-New, in the same network, is doing a lot of new development. They need to issue certificates to all their systems and a... |
I have two computers, both of them locate at the same local WIFI network ( ie: connected to the same router).
I use VPN on a computer to visit a website, and don't use VPN on another to visit the same website. Can this website know that both computer are located within the same local WIFI network?
|
I created a private key with an Android app I'm no longer using. I had uploaded the public key to the keyservers without setting an expiry date. I later deinstalled that app, and deinstalling apparently deleted the private key, or else I can't find it on my phone.
From time to time, people try to send me an email encry... |
On your GMail account you have the option to add other POP3 accounts to automatically fetch mail from them; Google Mail Fetcher. When enabled you have to specify your username and password, and the mail fetcher will start to continuously get emails from the other account.
Is the password you prompted for saved as clear... |
I received an abuse complaint for my server from hosting provider. After a thorough search I found file with name "title.php" in a WordPress installation's upload directory.
I am curious to know what kind of damage it may have done to my server/website?
http://pastebin.com/r7CdCizX
|
I'm working on a project using a trusted-peer setup. I want a way to uniquely identify each actor in the system, ideally across certificate re-issues as well.
In my understanding, the modulus of a TLS cert uniquely identifies the client, and should not change when the cert is re-issued. The only thing that would change... |
The machine I am attacking has anti-virus installed.
I have managed to use Veil Framework in order to create an initial reverse shell payload that is undetected by the AV. However, UAC is enabled on the Windows 7 target.
I am trying to use Metasploit's exploit/windows/local/ask in order to prompt the user, in the hope ... |
I just read the answer to this question Mobile numbers capture and transmit data and it sounds surprisingly simple for calls/SMS (and data?) to be intercepted by a fake base station.
From what I understand, if you were to walk past such a fake base station, your phone would automatically connect to it if the signal is ... |
I've been playing around with a router d-link dwr-921 and found some vulnerabilities in the web interface. I still haven't managed to get shell access and now I'm thinking about modifying the firmware since I can access the administration panel.
So far, I've downloaded the latest firmware from d-link, disassembled it u... |
I was setting up a test webserver on my local network earlier, and whilst sorting out the firewall I noticed the following in the log (/var/log/ufw.log - I'm using UFW on Ubuntu 14.04):
Jul 9 14:17:46 wilf-G560 kernel: [ 7098.779915] [UFW BLOCK] IN=eth0 OUT= MAC=**:**:**:**:**:**:00:13:33:a7:c6:98:08:00 SRC=173.194.13... |
I got internet installed at my home earlier today by Bright House Networks.
When I asked the installation technician about changing the router administration password, he said that he can change it to what I want while he is on the premises, or otherwise I can call them and they can change it remotely.
My concern is th... |
I have the following system in place on my web app and I'd like to know if it's secure.
Cookie contains CSRF token.
Application detects CSRF token in cookie.
Application places token in a header.
Token in header is verified by the server.
I have not seen any definitive information on whether or not it's okay to use c... |
My neighbor asked me if I wanted to share his network with me. Internet access is a little more expensive here than I am used to in my country. Before saying yes I wanted to know if I had risks in sharing my internet with him. He keeps the box and I will only have the wi-fi, which is enough for me, but about the securi... |
The security advisory for the issue can be found here: https://www.openssl.org/news/secadv_20150709.txt
OpenSSL Security Advisory [9 Jul 2015]
Alternative chains certificate forgery (CVE-2015-1793)
Severity: High
During certificate verification, OpenSSL (starting from version 1.0.1n
and
1.0.2b) will attempt to fin... |
As I understand the PCI DSS 3.0/3.1 penetration testing requirements, a company is compliant with 11.3 if the penetration test does not return any high risk vulnerabilities.
However, what happens if a low risk vulnerability identified during the penetration testing affects a requirement outside of 11.3? Is the company ... |
I believed that someone had hacked my Gmail because they were using information contained within my emails in an attempt to try to convince me that they were psychic. I told them that I didn't believe that they were psychic and knew they could only have obtained this information from reading my emails. I've not spoken ... |
I'm currently designing a basic Java program that uses sockets to communicate from a server to multiple clients. I want the clients to be unmodified, however, to prevent against users trying to use the software not how it was intended. I'm considering using an MD5 checksum and sending it to the server to compare it wit... |
You have a computer system, for developing and running your Top Secret™ project on, and you don't allow it direct access to the internet.
However, you want to use Maven, for all the advantages it confers, and so you allow Maven access to your intranet repository, which then has access to the internet repository.
The... |
I've recently uploaded all the family photos to my Google Drive account. I have a strong password and 2 step verification enabled on my Google account. My home computer is (naturally) trusted and logged in to said account.
Would it be possible for someone to "access" my Google session in Chrome and thereby my photos wh... |
Enumeration, enumeration, and even more enumeration is the generic pentesting mantra, but enumeration is worthless if you can't read the results.
I came across the Windows RPC service, where metasploit returns results such as
msf auxiliary(endpoint_mapper) > run
[*] Connecting to the endpoint mapper service...
[*] 123... |
We had some ransomware get into our system a couple of weeks ago, and it has encrypted a large amount of our files.
I am wondering, is it possible to figure out an encryption key if I know the decrypted content of a file. We have a couple of .txt files that only held a serial number for a specific software product. If... |
Malicious files are commonly infiltrated on to the network via email attachments. Besides awareness and education to my staff to refrain from clicking on suspicious attachments, I would also like to improve the security posture via technology. Are there any preexisting mechanisms in email servers/exchanges that could h... |
I'm trying to create a public key pair for ssh-rsa authentication. If I'm using puttygen.exe, the "OpenSSH authorized_keys file" string looks like this:
"ssh-rsa AAAAB3 ... 6yIK9Nbw== rsa-key-20150709"
This works fine, however I would like to attempt to create such a file using OpenSSL instead. Mostly because I just... |
I'm using Perl for the first time for production software and I have some trust issues with it. When I use the unpack() function, is it safe to use user input in the TEMPLATE string? I'm using a TEMPLATE like "Z$user_controlled" to read a string value to a variable. The constant $user_controlled is defined external sou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.