instruction
stringlengths
24
27.2k
I have a big problem. I inadvertently deleted a partition, which I had installed win7 BitLocker Crypt, so the entire partition was encrypted. I found a recovery tool which is called "DiskInternals EFS recovery", that we managed to access my data from the lost partition but I had not recovered because I have low space t...
Just going to say this right now; this seems absolutely ludicrous. I've had a problem with playing Super Smash Bros. on Wii U ("Cannot connect to partner's device."; also happens for all Internet-based games [Splatoon, Monster Hunter 3, etc.]) Nintendo's support decided it'd be good for opening ports 1-65535. To make m...
Checking the data packets from many VoIP applications shows that SIP packets are encrypted with TLS. So the captured session shows no SIP signals at all, just simple TCP and TLS/SSL packets. But surprisingly, RTP packets are well visible, with (dynamic) payload type, SSRC and data. In many cases where RTP is encapsulat...
I have a decent firewall/router at home, and I was wondering whether it would be possible to use my home firewall for the connections that my phone makes, even when I'm not at home. It would mean better security when connecting to open wifi networks with my phone, and more explicit control over the connections that it ...
I am curious about the following claim from the Cryptsetup FAQ: 2.4 What is the difference between "plain" and LUKS format? First, unless you happen to understand the cryptographic background well, you should use LUKS. It does protect the user from a lot of common mistakes. Plain dm-crypt is for experts. After re...
EDIT: My VPN has port forwarded a 5-digit tcp/udp port for me. What kind of attacks am I opening the computer to with VPN port forwarding?
The title describes pretty well what I want to ask, because I just can't wrap my head around it. I understand the basics of breaking encrypted data with the method of kind-of-bruteforcing where you encrypt sample data then compare it to the encryption you want to crack. However I don't understand how cracking a sophist...
7c4a8d09ca3762af61e59520943dc26494f8941b This is 123456, I don't know what kind of encryption it is and all the passwords are saving as it in my database so i need to know
I'm studying port scanning. How can an attacker benefit from the information of checking TCP ports or UDP ports?
i am using an Android phone which is connected to my home Wifi Device(Tp Link) DSL Connection. Can my neighbour hack my mobile and monitor my mobile traffic through software like WireShark, etc.?
For encryption block looking like this: EB = 00 || BT || PS || 00 || Data where BT - block type and PS - padding string, I've read that we use three types of BT - 00, 01, 02. Now, since 00 and 01 are for private key operations (where 01 is recommended - why?), like signature, and 02 is for public key operations, like ...
I am developing native mobile client for store that requires user authentication in order to make purchases available. I have my web store page, authentication is provided by CMS (OpenCart). Now I need to implement secure and robust login on mobile devices. I am using REST API for getting data public data from web site...
I have a question about DeltaCRL with an entry which contains RemoveFromCRL reason. At the start, PKI has revoked the certificate with certificateHold reason. And create next CRL: Last Update: May 28 13:14:09 2015 GMT Next Update: Jun 27 13:14:09 2015 GMT Revoked Certificates: Serial Number: 12 Revocation Date...
I am running a trial of Cobalt Strike which runs over the Metasploit Framework. I am trying to perform an SSH related attack on my laptop, and I get the error in the title for all SSH related attacks. If I try to login via ssh (not an attack) using Metasploit I get an error for the username and pass I know is correct; ...
I've been using GnuPG with an offline master + online subkey setup for a while now. All my email is signed with the signing-only subkey and encryption is done with the encryption-only subkey. The subkeys are 4096 bits. This setup works well, but I wanted to improve security so I got a Yubikey Neo. Because the Yubikey o...
I recently read: You should sign your PGP public key immediately after generating your public/private key-pair. And now I wonder how I can check whether I already did that. So my question is: how can I tell if my own pgp public key is self-signed or not? I'm using GnuPG/MacGPG2 v2.0.
I am building an Apple iOS application that will have the following flow: A user completes registration from the web. Upon completion of registration, a link is sent to his email. Once the link is clicked on an iOS device, my iOS app will be launched and will prompt the user for credentials. The thing is another mali...
iOS 8 includes encryption that is enabled by default, whereas in Android it is optional. Do both operating systems decrypt everything on boot and then the PIN is used to unlock it until it is turned off? Turning off wipes the decrypted files from volatile memory. Then when the user boots their PIN decrypts them all aga...
It doesn't happen often that a root name server changes, but when it does sometimes it takes months for OS vendors to provide patches and in the mean time there is a security risk. So: How to get named.cache (or named.root/db.cache from the same directory - the files are identical) in a secure way from http://www.inter...
I would like any seasoned analysts in network security & cryptography to help me confirm the following case. I have a .NET console application to get information from a web service hosted in the Exchange server 2013. Every time I execute the console application, I see in Wireshark that the TLS 1.0 is refused by the Ex...
Cold boot attacks are particularly nasty. On Android, a solution is to use a Nexus device with a locked bootloader to preven flashing a custom recovery. On a PC, your safeguards are even more limited. The attacker that has access to a running laptop can throw it in a freezer, then quickly reboot into BIOS to boot onto ...
I am planning to host a CTF contest in a few months at my local university. While searching for some hints I met this wonderful tool called Root The Box. It basically gives you all you need to host a CTF, including scoreboard, bots, flags and integrates all boxes and databases. Since it is designed for begginers, it sh...
Is a reverse proxy worth it? There are so many unsecured sites using a reverse proxy and I feel like that doesn't protect them. After all if they have an error in their SQL that could be use for injection, right? I feel like too many people rely on reverse proxy without knowing how to program correctly
I just noticed with Instagram, what you can do is: From the logged in Instagram app, change your email address. This will send a verification link to the new email address. Verifiying the email address requires you to log in when you click the link. From any log in screen (desktop browser or smartphone app), you can ...
I have a few self-signed certificates that I use, and I find it tedious comparing the entire hex value of the hash when accepting it in a new location. To be honest I usually just look at the first couple or the last couple digits. If it were in some kind of visual form like gravatars are in, I feel like I would more e...
I am working on a new site, and in order to avoid security hassles, I'm planning to provide Google and Facebook login to my website. Do I still need a SSL certificate or is it not necessary? Moreover, when a user goes through Google or Facebook Oauth, do Google and Facebook take care of credentials and passwords?
I'm looking for a description list for major vulnerabilities such as SQLi, XSS etc. The format should be like this: Short Description: Description: Impact: Solution/How to prevent: References:
I would like to know, before I will install Santoku, what are the differences between Kali Linux and Santoku Linux? I know that Santoku is dedicated to mobile security testing, but Kali has some tools for mobile. I focus on comparing tools for mobile applicatation testing, which system seems to be better?
The software that our company builds just went through a security audit. The auditors flagged our use of MD5 for hashing passwords that users can set if they want a password on their files. Having looked in to it, it seems that I should replace it with PBKDF2. But to remove all MD5 hashing methods from the software thi...
I am working on a project where I am using PHP_SESSION, Somewhere I heard that PHP_SESSION are quite unsafe for passing valuable data so I have to know what are the security flaws, how it can be hacked and how to protect yourself from them, Every Simple, Brief and Usable answer should be appreciated.
I've already asked this question on Stack Overflow, but no one answered, so maybe it's a more appropriate place to discuss it. Please let me know if I'm wrong and having duplicated question on different networks is not acceptable. I'm using ASP.NET MVC 5, Entity Framework 6 and SQL Server 2008 to build my Intranet web ...
Scenario: Server-side script takes URL parameter parameter1 and writes it without encoding into cookie cookie1. Then regular HTML page containing client-side script is returned. Client-side script, when user triggers an action, takes a value stored in cookie cookie1 and inserts it without any processing as HTML content...
I have to build a system that will ultimately print a pass allowing access to a building. The validation of this ticket will be done manually (it can also be automatic but that's not likely at this stage). There is the chance that the person checking does not have access to a computer to validate it. The idea is to pri...
I would like to know if there is any way to know how a file was written onto my server (Windows server) i.e if a file X got written via http or via ftp or by simple network copy or someone manually created this file? Are there any logs in Windows which could give me this information? Or any tools which could help me ga...
Did anyone try to figure out how process migration works in Meterpreter in Windows? I want to make my own script to learn that, but am failing to find a starting point for that. Well, I have an idea to use NtQuerySystemInformation library and its SystemHandleInformation function, as it can return handle of a thread in ...
Sometimes, when I log in to Google, it asks me to print out some backup codes for the two step verification process. This seems like a big back door that breaks the whole point of two step verification to me. None of Googles help articles address this concern at all. What are the security implications of printing out b...
I live in France. About 5-10 times, once every 1-2 months, I receive an automated computerized call that listens to me say "hello" there is silence for 5 seconds, and then there is a voice recording of a British woman saying "good-bye". If it isn't a sales call or a phishing call, then what is this kind of call? Why do...
The OpenPGP key contains a list of personal algorithm preferences (the meaning of the numbers can be decoded in RFC 4880): # gpg -a --export "foo@example.com" | gpg --list-packets | fgrep 'pref-' hashed subpkt 11 len 5 (pref-sym-algos: 9 8 7 3 2) hashed subpkt 21 len 5 (pref-hash-algos: 8 2 9 10 11) hashed subpkt 22 le...
What are the security implications of using a remote PC shutdown (from Iphone) software? E.g. https://s3-us-west-2.amazonaws.com/mark-bridges.com/Off.html My fear is that this opens a port vulnerability. In which case what kind of attacks are possible?
A headless server can suffer from a lack of entropy, which is a problem given that encryption needs random numbers. In the absence of a hardware random number generator (RNG) the numbers must be generated by software. And a busy Tor server can consume a lot of those numbers. Which software RNG is the "best" (i.e. leas...
The issue I am currently designing the backend for a SPA (Single Page Application), which I'm planning to construct in a fairly RESTful manner. The backend will ideally be just a thin layer between the client and the database. Almost all data in the database will be keyed to a specific user, which is why I need some fo...
I would like to know what the risks a penetration testing company faces while performing tests for clients. For example: A penetration testing company named "A" providing services for a client called "B". So now what threats would company "A" be exposed to if they do that test for client "B"? For example the threat to...
EDIT: It's been a little while since this was posted, but I'm here to report that this does NOT appear to have been some sort of attack after all. Rather, this particular URL string indicates a cookieless session. It seems that this was nothing more than one (or multiple) of our users hitting our site with cookies disa...
I am currently certifying systems (products) under DIACAP (DoD Information Assurance Certification and Accreditation Process). In the future we will need to use RMF (Risk Management Framework). What are the key differences between these two processes? What are the similarities (for instance they both use a POA&M) Is t...
Our new startup is required to jump through hoops in order to get authorization to use Experian. We are working out of WeWork (shared space). No experian data is stored on our local machines. We do have a web application server and a database on AWS. They are asking for our "Information Security Policy". What should ...
We have a web application server and a database on AWS. Is there any "immediate action" policy somewhere we can adopt as to the steps we can take when we suspect or detect a data breach?
I wonder if the follwing is possible: Assume you want to gain access to the AP "ap". Isn't it possible to set up a hotspot with the same BSSID, so that clients think that you are ap and send the password to authenticate? Please explain if this / why this is not possible. Thank you!
I'm developing an ASP.NET MVC 5 website, which a user can select some filters, based on those fillers the server process a result, and the user can make a order and pay for it. In my Order table i store the filters(5 columns), the Id(PK), and i need to store a OrderId in a cookie to track it, i know that is a bad prac...
I have been using easyrsa to generate client certificates for my application using the method described here. The build-client-full command generates a fresh private key for each client. This is what I currently use... run build-client-full send the private key, certificate and ca cert to the client. What I want to do ...
Why is data security genuine technically not perfectly possible? In my country (Austria) I was a member of the team that made first laws for protecting "person-related data" for every person. Have we to fear new, too big uncertainties?
Do techniques exists to know if a machine is a honeypot (or suspicious indicators)? What techniques can be used for a software inside the honeypot or outside it? What techniques uses malware to prevent infecting honeypot?
Suppose that I have a computer in Australia and access it remotely from Canada. Further suppose the Australian computer isn't used by anyone in Australia -- it's sitting in my locked apartment, left on -- and is only accessed remotely by me. If I were to log on to a poker site that does not allow customers from Canada...
I am using the Firefox browser on a Linux system and it came to my knowledge that it is possible for sites to take a fingerprint of the user visiting their homepages. So I actually have four questions regarding the thread: 1) It was written in the article I read that it is even possible for them to learn my computer na...
I am using the following configuration to set up sslstrip sudo echo "1" > /proc/sys/net/ipv4/ip_forward sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 666 sudo arpspoof -i wlan0 -t 192.168.1.199 192.168.1.1 new TERMINAL sudo sslstrip -l 666 The device I'm listening to is my an...
I am generating dynamic images in a web service. The current setup is: Request image.py image.py does a database lookup to determine what data to use to generate the image image.py calls a sub-script (given by the database; e.g., cats.py) to generate the particular image So image.py contains standard wrapper code, an...
I understand Facebook uses WebRtc to send voice data packet in network if any one end client is on the browser. Use of DTLS packets can be seen in captured (wireshark) file. But in case of mobile app to mobile app, we don't see any sign that it is encrypted. We can see some encrypted key running, but that cannot confir...
I am relatively new to mobile application security. Currently I am supposed to audit an android application which uses a webview to display some static FAQ page in an activity. The webview in question has javascriptenabled as true for some business reasons. Now, I as the security auditor for the application, am a litt...
Are there are any (properly specified) meta-formats / schema formats for describing cryptographic message structures? I'm looking for a way to describe the format (where some channels might want symmetric/asymmetric encoding or signatures) that's not just "This uses scheme #5 - see the docs for more". Having it compute...
What is the best distro of Linux to get PCI-DSS compliant? I am using Debian 8 because I think Debian is one of the most stable versions, but it seems not to be enough, I am struggling with a lot of vulnerabilities. Furthermore, if anyone could post what would be better if apache vs nginx in combination with the chosen...
I'm building a UTM using ubuntu, How can I block HTTPS traffic using URL filtering? (For example I want to block https://facebook.com) I'm using Squid as a transparent proxy server. Solutions I don't want to use: Blocking websites by IP's, Squid-in-the-middle SSL Bump
I need to scan large network which has 5000 IPs. I have limited time duration. I have done initial maths and concluded that, in a group of 4 individual has to perform 70 IP nmap scan. Consider that I want more out of nmap. Which method will be effective for me? Initially I thought of running top 1000 ports scan and the...
I'm building an api authentication layer that basically works like the secure cookie protocol, where instead of a cookie I give the api client a token which they must provide on subsequent requests. That token is signed via HMAC using a secret key kept in memory on the server. The key is a 64 character random hex strin...
I was scrolling through a Google Research paper related to privileges separation and I felt lost while reading this : In Unix, every process runs within its own protection domain, i.e., the operating system protects the address space of a process from manipulation and control by unrelated users. Using this featur...
Personally I'm a big fan of hosting everything myself, just because of the privacy aspect. For that reason I try to use external files as least as possible. Nevertheless, I'm wondering if it is a security risk to hotlink to files other than JavaScript files. The risk of hotlinking to an external JavaScript file seems ...
Both my boot partition and my data partition are encrypted with TrueCrypt. My password is lengthy, so I find myself avoiding a reboot of my system whenever possible. When going to lunch (for instance), I have been putting my laptop into "Sleep" mode, which requires me to enter my Windows password to get back into Windo...
While browsing this community I notice that some people say that the main advantage of usernames accompanied by passwords is as they take more tries to be brute forced, however I don't think that is the case, for example: #Easy password just for example Username: admin Password: c1235 Is just as tough to crack as jus...
I have encountered a situation where payment card (debit/credit) information, including name, number, expiration date, and cvc, is being saved by an organization unencrypted in excel spreadsheets on shared drives. The files are several years old and per the expiration date all the cards recorded have been expired. Th...
Assuming a BIOS that supports SED (Self Encrypting Drive) hard drives, and given that Windows 8 will use hardware encryption like SED if the disk has it, does BitLocker still require a TPM to avoid using USB? This regards a standalone laptop not part of a domain.
I was reading an article which explained that there is a growing movement to force ISP's to store IP-assignment logs for DHCP connections for longer periods of time in order to fight cyber-crime. However, I don't understand why this is necessary. If an ISP no longer has the information associated with an IP address, wh...
To tell the story; I got in to a battle of words on Twitter some months ago. I had since blocked them. However recently as a few day ago I saw them pop up again in a comment on a Tweet I was reading. I did not screenshot the actual tweet but I saw this as the first comment on a friends status on Facebook at the top of ...
One of the problems of disk encryption is providing authentication. An attacker with access to the ciphertext can modify the ciphertext at will without consequence. Given, this isn't a likely attack, but nevertheless a possible one. An interesting thought occurred to me. My disks are encrypted with LUKS in AES-CBC ESSI...
I just arrived home and when got to my computer I checked my mail box and it was with a message coming from my own email address that was sent almost at the same time I got home. I promptly identified it as bank scam, but it really worries me that it comes from my own address, so I'm just around an hour looking up the ...
There is a CTF Problem that it needs to see comments of a PHP file using some vulnerabilities of PHP; The Question is: In the link bellow You must change lorem.php to read exact php comments of index.php file http://web.ringzer0team.com:13371/index.php?page=lorem.php I have tried index.php but it makes a infinite loop....
I fail to understand how a MITM attack sniffs packets and modifies them.In the case of ARP spoofing although the attacker has spoofed the MAC address of a host, how does he modify it as the IP layer would just discard the packet as the IP's of the host and the attacker do not match?
I'm studying the vulnerabilities of an old version of Apache, the 1.3.34. And I don't quite understand in what exact situation the CVE 2006-7098 vulnerability can be exploited. The README included in the exploit states that: Local attacker can influence Apache to direct commands into an open tty owned by user wh...
I have have used sqlmap for a long time now. I have come across a this url pattern. http://www.example.com/parameter-somethingid01-anotherthingid023 Where parameter is expendable meaning it doesn't matter if the it's available or not. http://www.example.com/somethingid01-anotherthingid023 is the same as the one above i...
Is it must for a packet sniffer to enable promiscuous mode?Can packets be sniffed without the NIC being in promiscuous mode? Also when in promiscuous mode the NIC accepts all packets which are not addressed to it's MAC address.Does it also mean that it responds to all packets(it receives) that require a response? E.g :...
I refer to multi-streaming as the ability to send two or more streams of some unit of data (block, byte streams) in one established association/context. SCTP is an example and the protocol I was thinking about when this question came to mind. How could I efficiently secure data sent over multiple streams? What I see ...
As an attacker,how do I prevent people from finding out that my NIC is in promiscuous mode? For test like ARP and DNS how do I defeat the users detection mechanism?
Suppose as an attacker I provide a fake certificate to a user.A warning pops up on her window but she decides to continue anyways.Is my fake certificate now added in her browser's trusted certificate list? If she tries to visit my website and I provide the fake certificate again is she warned again or not? Also,how can...
I'm curious about the risks associated with HTTP content injection, where an ISP injects content to pages accessed over non HTTPS connections. Some examples: http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad-injections-threaten-security-net-neutrality/ http://m.theregister.co.uk/2015/01/06/gogo_ss...
Assume I have a source that generates symmetric keys. This source could be a very solid HSM device, somewhat reliable PRNG, a compromised key generator or a hardcoded value which returns the same byte sequence every time. Thus, I am not sure if the key I receive is really trustworthy. So, what I plan to do is to genera...
When using 3G or 4G internet on my phone, is this running over the SIM card or is this similar to WLAN traffic? Can a mobile network provider assign my mobile internet traffic to my phone by either the SIM card number or the IMEI of my phone?
How can I be sure that a browser add-on that is released under the GPL is actually really using the source code that was published? I read somewhere that the source code of Chrome add-ons is viewable in the Chromium browser directory, is this the same way with Firefox plugins? I guess not because otherwise there would ...
Is there any point in signing an OpenPGP public key that has not been uploaded to a key server? In other words: does anyone except person A who signs person B's public key notice that the signing has taken place? Background: since I haven't decided to upload my public key to a key server yet, I'm wondering if there's ...
I'm running my own mail server setup: - IMAP: Dovecot - SMTP: Postfix There are 4 clients which retrieve emails via IMAP: - iOS (Default client: Apple Mail) - Android (Default client) - Mac (Default client: Apple Mail) - Windows (Thunderbird) The problem: I don't want these mail clients to trust anybody except my serve...
I'm having slight problems reading the used format in an Internet-Draft: TokenBindingProtocol#Section6 here enum { provided_token_binding(0), referred_token_binding(1), (255) } TokenBindingType; im not sure what the 255 stands for. I assume that these enum values are in the range from 0...255 i.e. represented by an...
I am designing a security model for a web application which restricts access to certain parts of the app depending on what rights and permissions the user has. These rights and permissions are grouped together into Roles that each user can be assigned to. However I need to create an System Administrator role that gives...
I'm testing some vulnerabilities on a machine which has the port 22333 opened (it's used as the ssh port, and I can connect to it without any problem and the telned command get connected): $ telnet x.x.x.x 22333 Trying x.x.x.x... Connected to x.x.x.x. Escape character is '^]'. SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u2 Bu...
How do you deal with personal security issues? Let's say you've got reason to assume somebody with big capital may be trying to track your moves. Early in the morning, day after confrontation, you see unexpected phone reset, some tools icon and progress bar "compiling" something. Norton does not see a problem. Today I ...
Which is safest for security and being anonymous in internet? I have heard TAILS is better because it was used by Snowden, but I don't really know FREEPTO.
Is it possible for a company to track who logs into work using VPN? How is this information tracked. I use a RSA token that is installed on my cell phone. I enter a code into the RSA app, then it gives me a new code. Does the VPN software track who uses the service?
Normally, servers that support SSL 3.0 are vulnerable to the POODLE attack. But, consider a server that has the following interesting combination of features: It supports SSL 3.0. If you connect to it via SSL 3.0, the connection succeeds but it immediately returns a HTTP 302 redirect to a web page on a different host...
My phone has an option for the PIN lock screen to unlock it as soon as the correct number is entered (without pressing enter). So for example if the password is 77912 then you only have to enter 77912 and not press ↵ What impact does this have on security? Still there is an infinite pool of passwords an attacker has to...
I'm trying to write a snort rule which outputs an alert whenever a web server returns an HTML document containing a specific string. I've come up with the following rule: alert tcp any any -> any any (msg:"Yay"; flow:to_client,established; content:"Content-Type: text/html"; http_header; content:"Hello there"; metadata:...
Id like to protect myself as good as possible from my ISP. I am aware of the fact that they could forward my requests to possible fake Websites containing malicious scripts or plug-in content. Usually i am using an encrypted proxy so it would be hard for them to monitor what i am doing and then in the right moment forw...
I have a simple executable binary. It takes as input a user supplied string and compares it with a private string using strcmp. How can I slow down the execution of this program such that I can launch a statistical timing attack on the string comparison? Currently the early-exit nature of strcmp is too slight to detect...
I have a zigbee access point. I am not able to detect its network. Also, unable to capture its traffic using wireshark like we capture wifi traffic. Can someone tell me what should be done to analyse the zigbee traffice
As a follow-up to this question, I am wondering how much care I need to put into my Windows login password, for when I leave my computer alone in "sleep" mode. (I know that Windows passwords can be easily removed.) Is there any software that can try to crack the password from the lock screen? Or do I just need to have ...
I have read that we can detect whether a system is running promiscuous mode by sending out an ARP request with a fake broadcast address e.g FF:FF:FF:FF:FF:FE.This will be blocked by all NIC's operating in normal mode but will be allowed by NIC operating in promiscuous mode and thus it will respond to the message.But I ...