instruction
stringlengths
24
29.9k
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...
WebRTC can leak your private IP address, even though you are using a VPN, from what I learn here. Am I protected against this information leak affecting my privacy, when I'm using the incognito or private browsing mode in my browser along with a VPN connection? In other words, is my private IP address hidden from the ...
Technically and security wise, can a reverse proxy act as a "container" for SSL certs ? Meaning, for example currently my web server is running on ssl (https). Can I move the SSL cert to the reverse proxy and let it handle SSL connections to the web server. And my web server will revert back to port 80 normal web traff...
I have been given a task to test some of our company's security. I have SSL stripped before but on a very basic level and now days with the security is a bit harder. I want to allow all HTTPS traffic but what I want to do is decrypt and re-encrypt so the webserver does not throw a fuss, because most web servers now for...
I've been reading up on how to secure my data if someone has gained physical access to the machine, e.g. stolen it. And that seems like a very hard thing to do, as indicated by a number of posts. It is certainly possible to make it harder to gain access to the data. But it has to weighed against the ease of using it. I...
I got the following SMS from number 32665 (FBOOK): "Confirmed! To edit SMS preferences go to m.facebook.com/settings. To turn off all SMS messages reply stop. Reply help for other option. SMS charges may apply" I'm worried someone hacked into my account, since I did not do anything in the last weeks that would genera...
I would like to know after approving the Certificate signing request, does the Certificate Authority send the Digital certificate to the applicant by converting the digital certificate to PEM format and sending it as a .crt file via email or does it send the digital certificate in some other way?
Original site: ---topbargains-com-au A fake replica: --topbargain-org How dangerous is this? Have they copied the whole database? Edit: Removed the URLs to satisfy a spam allegation Edit: The fake replica site contains this line in the footer. src="http://js.tongji.linezing.com/3598203/tongji.js Edit: See below commen...
Much of my personal information is available online. That is not a particular issue for me, but someone used my name to make a gmail account with my specific name on it (it is an unusual name), and ordered some game codes from ebay using my email address, which was somehow linked to my credit card. Visa, Ebay and paypa...
I'm working on a solution to identify client Network Domain or Workgroup in a private network. Based on it, I must change some access permissions. I can't do that through IP address because it isn't trustable, only network domain/ workgroup. For reasons unknown to me I can't have a login screen, access must be automati...
I've previously posted here on how to get started as a malware analyst, and wanted to say thanks on getting me started. How much do certifications help me on my resume and which one(s) should I get? Will experience ultimately be better than a cert? And finally, when should I get certified? I'm currently a sophomore st...
q1) Does that mean that every time information is exchanged, both the original data + digital certification is sent? Meaning data + signature for each and every exchange. q2) Can any kind soul here please explain why we need to encrypt the one-way hash on the original data, since the hash itself is irreversible ? If t...
While using a Chromium based browser (Chromodo) and doing a regular Google search, Evernote is now appearing on the side with "related results in your notes". Does anyone know how they are doing it? *I cannot see any additional plugins (extensions) in the list. I am wondering if this is source of concern for security...
We are developing a mobile app that includes a user account system. Currently, we have a system password flow like this: User enters password -> SHA-256 HMAC hash with key -> server -> SHA-256 hash -> database I have 3 questions: Is this secure enough for release? Would it be secure to store the client-side passwo...
I just got an old SSL cert renewed by GoDaddy. It works fine on most clients I've seen. However on some of our more restricted computers there is an issue. These computers have GPO's set to block access to all websites that are not owned by us. When they try to navigate to a site with this new SSL cert, they show a...
TLDR: We already require two-factor authentication for some users. I'm hashing, salting, and doing things to encourage long passphrases. I'm not interested in the merits of password complexity rules in general. Some of this is required by law, and some of it is required by the customer. My question is fairly narrow: Sh...
This google support page says: For example, an eight-character password with numbers, symbols and mixed-case letters is harder to guess because it has 30,000 times as many possible combinations than an eight-character password with only lower case letters. How does this 30,000 figure come? Why is it so high?
I am about to launch an online shopping site (currently running http) and I was thinking heavily of moving to SSL which includes a green bar, because this is very important. However, when I first checked it out, I found it was very expensive at first. But then I found a unbelievable price, for which I can't find the r...
It is generally known that we choose our key-lengths, so they are unbreakable in a specific time frame. For example we choose 112 bit keys (=2048-bit RSA) to protect data for the next few years and we choose 128-bit keys for protection of data for the next decade and 256-bit keys for anything else. Those estimates heav...
I made an SQL-injectable web-app build to with PHP to get a better understanding of what is going on and automated it all with sqlmap. The relevant code is the following: mysqli_query($conn, SELECT trans FROM `dictionary` WHERE `word` LIKE '$unfiltered_variable'); I played around with SQLMap and the only thing I was a...
I'm trying to get shell access to a router and have managed to retrieve its /etc/shadow file: root:$1$$N76hdwGfg11g0KdKbtyh21:0:0:root:/root:/bin/bash I've tried to use john to crack it but couldn't: $ ./john --show passwd 0 password hashes cracked, 1 left I've also made a test account and managed to crack it on ubun...
I am attempting to obtain a shared secret using BouncyCastle's ECDH methods in C#, however I am receiving a shared key which is much shorter than the 48 bytes I expect it to be. I have a trusted external source providing me (Side A) with a public key and a private key, these were generated for P192, and are of length 4...
Supposedly, if someone were to report a video to the fbi, if anyone watched that video, would their ip address be traced down?
In my Nginx config I have: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RS...
I need to execute a call to cat on a target file using a buffer overflow in a challenge app (can't execute on the stack, but can use libc). For reference, in C this is valid code for what I'm trying to do: int main(void) { char * const argv[] = {"cat", "/etc/target/file"}; char * const envp[] = {NULL};;...
We're building a cloud web app backed by a multi-tenant db. To maximize security we plan to encrypt each customer's data with a separate key. The problem is querying. Say they're in the report writer and want to sort their 1,000,000 customer table by LastName. That would perform horribly because all 1M rows would ha...
Why does some of the biggest internet companies not use an Extended Validated certificate which makes the address bar would be green and more secure? I have noticed that Facebook, Google, Amazon the biggest companies I could think of that holds alot of sensitive information does not use EV. Twitter uses EV, most of the...
I feel like I'm missing something, because I'm not finding an answer Let's have a pretend scenario. I connect to an LDAP server I issues a BIND command and successfully log in (I think the sever would return something) I issue a DELETE command How does the server know that it is still me when I issue the DELETE comma...
Recently, I stumbled upon a way to reset the software trial of any product under the adobe suite. It's as simple as changing some attributes within a few files. I'm assuming that it can be deemed an issue because it shows no signs of piracy (such as a replaced .dll). On their website they have a program set up only for...
I wonder if file hosting services like Dropbox, MediaFire, OneDrive, Google Drive, etc. manually check user data for piracy or copyright infringement. Although their terms of service always say that they respect user privacy, I heard that many user accounts have been suspended because of storing copyrighted contents, s...
Say that there are two servers that perform TLS. Both servers have valid end-point certificates. In other words, neither of them would raise a warning from the browsers after the connection has been established. Is there any way that the client authentication requested by one server can be abused to create a valid conn...
The figure below shows four simple hierarchical PKIs. A, R, H and N are trust anchors of their PKI. I am supposed to add exactly one certificate so that T trusts G, but not D. Furthermore R must not trust P. First I thought to let C certify G, but the solution proposes a certificate of C for P. If C certifies P, ther...
I was tasked to perform as scan against a lab and Nessus returned an "Apache HTTP Server httpOnly Cookie Information Disclosure" vulnerability. What I would like to know is what these cookies contain and how are they exploited.
I'm developing a REST API but I am unable to use HTTPS without using self-signed certificates. I understand that that might be acceptable for some, but I don't want security messages popping up on client browsers. The information being passed on the network is not sensitive, so I don't care about eavesdropping, but I w...