instruction
stringlengths
24
27.2k
Hydra is a secretive organization. It is comprised of several Directors at the top, and many Agents underneath them. A Director sends Agents on secret missions. During these missions, communication is spotty and unreliable. Agents rely on untrusted messengers to deliver messages back to the Directors. Messages include ...
Putting all eggs in one basket.. Is it safe to sign-up on different applications with facebook or such similar platforms, linkedin, twitter etc?
I have a custom CMS with a randomly generated ASCII 100-character string from this site for both my username/password. I also have this following sha512 encryption system, which was created by Sammitch. Is my CMS prone to infiltration, and if so what practises, code and methods can I use to make the most secure CMS log...
I am building a Gmail augmentation that works as a browser plugin and it will also have dedicated iOS and android clients. There is an app server that will keep track of users emails and create augmentation based on certain criteria. Just like Boomerang, or Streak. I am a bit puzzled on how to implement authentication/...
I study at a college where most social networking sites are banned(Including this one) and if someone is found using them somehow is heavily fined.I just want to know what all can the network admin find out
Is there a way to check every packet leaving the system for sensitive data like IP addresses, personal information (like logins) etc ? A free (and preferably open source) program which does this for Linux would be great. Otherwise, where would I start to go about coding something like this ?
I have been doing external pentests using the Intel NUC (D34010WYK1). It has been a very stable machine running Kali Linux. I am at point now that I would like to do some wireless testing. Has anyone used the NUC for wireless testing? If you have experience with this setup, please respond with NUC model, NIC model ...
I understand what pinning is. I had read about Certificate pinning and I appreciated it's use case. But today I learned pinning can be of two types - pin the certificate or pin the public key Certificate and Public Key Pinning I would like to understand the use cases for each. Any typical scenarios where we would pr...
"Successful" is rated by infection rate. Which virus/rootkit/malware has been able to infect the most computers globally?
OAUTH seems like a pretty good idea when it comes to helping people authenticate, cuts down on the # of passwords to remember and in general eases the friction of on-boarding. However it would mean that once you compromise one account, you would be able to get into lots of things, all you would need to do is know othe...
Can an attacker use a tarbomb to override vital parts of my system? A tarbomb, also sometimes written as tar bomb, is a tarball whose contents appear to explode into the current directory or some other existing directory containing a large number of items when untarred rather than into a new directory created by the t...
I am taking my laptop with me on a school bus trip, and I want to use an Ad-Hoc network to host a multiplayer Minecraft server. I have heard, however, that Ad-Hoc networks have a vulnerability that makes it possible for people to access your computer's hard drive. While I doubt that anyone else that will be on the bus ...
If my net/router turns off with the belkin netcam will i still receive video if the motion sensor is activated? I was considering purchasing one, but if all that needs to be done is simply turning off the wireless router I really do not see the point. Any help is appreciate :)
I am trying to understand ASLR and how it is implemented. I understand it does not actually "prevent" buffer overflow etc from happening, it will only make it more difficult. But i am not able to figure out how it prevent a return to libc attack. For example, lets say i have a program which has a buffer overflow. I giv...
I have a Raspberry Pi connected to my home and at day 2 of this month I've opened the port 22 of my router so I could SSH it from anywhere. Today by curiosity, I decided to see the raspberry pi log, and I've found lines like this: Mar 29 07:00:34 raspberrypi sshd[10242]: Failed password for root from 59.63.192.199 port...
i was tackling with networking and cannot seem to understand How bits are transferred over wires in the first place what counts for each of 0's & 1's
I'd like to run FreeRADIUS for EAP TLS authentication but instead of running my own Certification Authority I'd like to use StartSSL. I've setup EAP TLS with StartCom as the only Trusted Root CA and that works ok, but means anyone with a StartSSL Certificate could connect to my network. I would like to allow access bas...
Imagine a web-based email app, such as GMail. The email should only be readable by the sender and the recipients. No one else, including the developer having access to the database server or application server should be able to read it. Is there a way to do this? If not possible, what is the best we can do?
I have an Ubuntu server hosted on DigitalOcean, I have been using SSH keys since the very beginning. (You can chose for it to be setup before the server instance has even been created). So I have never logged in remotely with a password. I just checked my logs, and as expected there are hundreds of login attempts. I kn...
I am a student and relative noob in IT security performing research for three reasons: school, my employer and personal curiosity, and I hoped maybe someone could answer a question for me. In a video posted to YouTube by Akamai (https://www.youtube.com/watch?v=eW_A7tUuop4), the features and present direction of the pro...
Select * from Shop where Item = $item order by ProductNum desc I found this vulnerability within a website. To test if there's any vulnerabilities I inserted a single quotation after itemshop_secure.php?section= And I stumbled upon this error message Error Query [SELECT * FROM Shop Where Item = '\' order by Produc...
So I mistook input fields and now my SSH key passphrase is visible to the world, and I can't even remove it. Now as far as I understand, this is not an immediate security concern, since the passphrase only protects against the case of my private key itself getting disclosed. Since that hasn't happened (they key only ex...
I need to give a presentation regarding Snort and Security Auditing. I have recently learned to configure Snort as a NIDS. I want to know is there any way I can configure Snort as an HIDS? If I am updating variable HOME_NET to my IP, it'll log all ingress and egress traffic but is there a way to make it log all applica...
I am currently working on a service which lets users store client-side encrypted data and access it anywhere. The client connects through a browser and the webapp is written in JavaScript. To easier manage the stored data, I'd like to implement a search function. The whole concept of the server not knowing what is stor...
i came across this question and have been thinking about it without a final solution. The question is to design a secure telnet. essentially to login using a username and password using telnet. I do not have ssh. The restriction is that i cannot use any public key encryption anywhere in the protocol. My initial thought...
Lately, whenever I click on a download link in Google Chrome, it redirects to another link starting with s3.amazonaws.com, which in turn gets blocked either by Chrome or by my Antivirus (Comodo Internet Security). Copying the same link into Firefox or(*) a download manager downloads the file normally. I have tried rese...
I'm using cudahashcat, it haven't special chars like "öçşĞÜ" in standart charsets. I defined charsets with windows-1254 and other encoding types(and -1 öÖçÇğĞşŞüÜıİ?a parameter), i tried but they didn't worked. How can i solve this problem?
I was looking at Google's Internet Authority G2. Its a subordinate CA (critical, CA:TRUE, pathlen:0) certified by GeoTrust. The dump is below. Presumably, GeoTrust certified that CA for Google so Google can manage its web properties (corrections, please). However, the subordinate lacks a name constraint so that Google ...
Right now I'm developing a web application and it uses a lot of JavaScript functions so I'm putting all of them in different JS files to access from the HTML, but the functions are "easy readable" so the atacker knows what is going on with the application. My question is, Is it dangerous that the attacker knows all the...
I am new to cryptography. I have an api provided by a bank. The banks says that they are using RSA algorithm with 2048 bits. We used this api first to get the public key. Here is the sample public key(some chars updated for security), MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgqvmScnvYGpQ+exGe9OM2tYM+JGjEZbQ VxQsnBQ7...
Suppose you're constantly being menaced by high profile hackers and agencies that try to intercept messages sent between you and a friend. The question is: what's the safest way to send messages to him without any malicious user or agency being able to either: Intercept and decrypt yours or your friend's messages. Int...
A client is only submitting forms using XMLHttpRequest with the use of a header (X-Header: [any value would be correct]) to protect against Cross Site Request Forgery attacks. I know this is not the right way to prevent CSRF vulnerabilities, but how would you exploit this type of CSRF vulnerability? The requirement is ...
What are the most common ports for HTTP services? 80,443,8080 are common for all of us, but what else are used?
My computer might have a virus infection. I have used Norton Internet Security and Power Eraser to scan the computer but it still did not work. The traffic on my PC looks like this I used resource manager to check the program that is causing this and here it shows me this TCPSVC.exe is a legit service by Microsoft. Th...
I'm not keen on encryption and security overall, so please forgive my ignorance. Let's assume the following: We have two nodes which are constrained devices (resources not sufficient for asymmetric encryption), and we want to securely establish a shared key for symmetric encryption. My solution is the following: save ...
Quoted from here: Certain military communication systems are based on the jam-resistant burst transmission of binary telegrams which consist of orthogonal spread-spectrum waveforms (BOK). To regain the message content at the receiver the a priori not known arrival times of the telegrams have to be detected by means of...
I have a command line tool (ngi) I made, and currently the process of installation requires 2 steps. First step is to clone the repo into usr/local/ngi. Second step is to manually set the $PATH in ~/.bash_profile (or wherever they set their environment variables) so that they can run the tool from the command line. Wha...
I'm running a VPS (under ArchLinux) and was wondering if sshguard was useful in the following case. My iptables rule for SSH in looks like this : iptables -A INPUT -p tcp --source $Trusted --dport 22 -j ACCEPT with $Trusted a set of Trusted IPs, currently only my VPN IP. Basically iptables deny all and then accept onl...
I’m intending to submit a personal project for a “call for papers” for an upcoming Con. I have a really interesting topic that I wanted to submit for the talk. I was hoping to gain some feed back on what a good layout/format would be for the paper. Any help is appreciated! Thanks!
I understand what a hash is, basically we calculate a hash and append it to the message and send it to the receiver. If someone alters the message, the receiver will know because there would be a different hash value. Since hash algorithms are well-known such as MD5, SHA1, if there is a man in the middle attack, can he...
I'm trying to determine a server IP address via ping and open ports/services by running an NMAP scan. At work, when I ping my website/server, I get a response from 172.16.XX.X. If I run an NMAP scan, it brings a back a list of open ports/services. As expected. However, from my home computer, when a ping is sent, I get ...
I recently fell victim to some Adware (and possible malware). I was installing Firefox and clicked an ad link in Bing and downloaded a "packaged" Firefox install. I believe the ad is still at the top of Bing if you search "Firefox download" right now... I ran a scan with AVG and a scan with MalwareBytes. Both showed...
I was recently viewing a website and saw its certificate info as follows: Given that MD5 is badly broken and not recommended for hashing, how good is it for use in TLS? And why?
I have become quite a password-obsessed individual. I password-protect my HDDs, my files, and now even the BIOS/EFI on the various systems I own. But I have discovered that if you forget your BIOS password, it is easy (enough) to simply reset it/disable it via physical access to the insides of the machine, or in some c...
Upfront, I want to clarify that I am not a professional cryptographer, I am more curious about playing with the math and science behind it, and also want to improve my habits with my own personal and work data. I am not asking phishy questions to build a silly homebrew or anything like that. I have been reading about t...
I have a nexus phone running android lollipop. Even if I'm not browsing the web or using the WiFi at all (and after sync of various components has completed) the WiFi up/down arrows still flash periodically. What is using the Wi-Fi? and is there any way for me to check what specifically is using the Wi-Fi?
While debugging my server for issues, I checked my logs frequently. Here is one weird one I've found, which seems like an attempt to run something on my server. I am using nginx on Ubuntu 14.04. Below is the log entry: xxx.xxx.xxx.xxx - - [07/Apr/2015:02:15:05 +0200] "GET /cgi-bin/test.sh HTTP/1.0" 400 172 "-" "() { :;...
Quite a few websites, Coinbase and Stripe most notably, ask for the last four digits of your social security number to 'verify your identity'. Assuming these websites are not trying to fraud you, how could knowing four digits of your SSN possibly be valuable to them? Both of these websites (if you have made a transac...
I would like to know: How can they detect the VPN? Does installing the client mean they can see background processes and see the VPN software? Or is the only way that they use a blacklist of known registered VPN IPs? Is there anyway to prevent this detection? Would using a kind of sandbox like VMware player, with the ...
In this answer, it was recommended that you add random padding when hashing messages for a trusted timestamp, such as for predictions, in order to avoid dictionary and brute force attacks (at least when the message itself doesn’t have much entropy, as in the example in the question). The answer briefly says that 80 bit...
I heard in a security talk today (I didn't have the opportunity to ask questions): The speaker mentioned that he observed (2 years ago) that a possible malware on a given computer was behaving such that, when the user visits a legitimate URL via the browser, the malware changes the URL that needs to be visited; so the ...
A SIM card can initiate some communication with a mobile device with so called "proactive commands" (chapter 6 of http://www.etsi.org/deliver/etsi_gts/11/1114/05.04.00_60/gsmts_1114v050400p.pdf). Using these commands, SIM card applet can request the OS for current system time or sending SMS to a specified number and mu...
Yesterday I tried to recover the password for a Gmail account that I have created few months ago and during the process it asked me for the last password I remember. Why would it ask for that? I'm 100% sure that I have used only ONE password for the account so it's meaningless to ask me for the last password I used i...
It may be a silly question, but hackers do use publicly-available tools to find vulnerabilities. So why don't companies, before releasing their products (Windows, Adobe etc...), use the same tools to find those vulnerabilities and fix them? I don't understand. Am I missing something?
One of the payment solutions for the websites provides the following way of creating security hash for payment link: hash = sha1(private_key + payment_params_json + private_key); Is there any particular reason for using the same private_key twice?
In the realm of software development what would be the best way to vet prospective employees? We handle potentially sensitive information, and a code base which could be potentially lucrative to competitors. I understand that there is only so much that one could do, and unfortunately there is only so much information &...
I know that there is nothing like a safe website ,any website which is safe today could be hacked and its visitors could be served with latest malware. What I'm curious about is what checks can we do on a url to judge/guess it as malicious using a pencil and paper, no third party help (like siteadvisor,virustotal,Dom...
Intrusion detection using something like Tripwire that conducts integrity checks through crypto'ed hash functions of files requires a scan and to hash the file and save this for later comparison. This process takes time so what files can we expect to be effectively protected from this and what files change too frequen...
Threatmetrix is a fraud prevention SaaS aimed at preventing fraud. Their company website states: ThreatMetrix is also uniquely able to uncover hackers and fraudsters trying to cover their true location by hiding behind VPN servers. ThreatMetrix has developed a unique VPN detection capability that: Captures additional...
I am new to SNORT and can not figure out what the following rule means: alert tcp $EXTERNAL_NET any-> $HOME_NET any (msg:"SCAN FIN"; flags: F; reference:arachnids,27;
I want to use a prepaid SIM card (text and calls only) anonymously. I bought the SIM card offline without providing any address or name. I am now thinking about using a dumbphone I bought from Amazon and that I previously used my primary, "public" SIM card with (and would do so every once in a while). I only plan on s...
I am working with another UX guy and he's let me know that there have been some studies surrounding the fact that when a person goes through a "forgot username/email" process, they enter in extra information and that this extra information should be enough for a user to be logged in without having to enter a password. ...
I am trying to figure out a way to natively do this within Windows without having to load any 3rd party applications. When I run: netstat -ba I want to find established connections without losing the executable name that is attached to that particular connection. The original output looks like this: TCP 127.0.0.1...
I've seen the following login rate limiting approach used on a web site I worked on, but I can't figure out if it's a good idea: After any failed login attempt, the site locks the user account for a fraction of a second. When the account is locked, any login attempts will fail, even attempts with correct credentials. T...
so after setting up a new server with just ssh (public key only) and a webserver which just serves one index.html I left for the weekend. Logging in on Monday I see this type of thing in my httpd access_logs 5.199.170.44 - - [07/Apr/2015:12:07:48 +0200] "GET /cgi-sys/entropysearch.cgi HTTP/1.0" 404 223 "() { :;} ;echo;...
We have a requirement to scan uploaded images via azure services. I found that Azure has a free out of the box solution http://azure.microsoft.com/en-us/support/legal/endpoint-protection/ However simply enabling anti malware is not enough for our scenario. There are more than one WebRole that can upload images. and al...
I am putting together a summary on iOS and Android security risks based on app permissions. On Android, it is easy to define all of the permissions and what 3rd party developers have access to (from the Android Manifest Permission page). On iOS, I have not been able to find a comprehensive list of what 3rd party develo...
I am trying to compile a list of areas one should be aware of when doing Incident Response on public cloud environments, e.g. a hybrid public cloud, where some services are provisioned in local data-center, while is in the cloud. Some thoughts: Pulling RAM to do memory forensics will be hard, if not impossible, to d...
Let me preface this by saying this is my first attempt to understand input sanitation, and at the moment I'm still a newbie to PHP. I've put together a quick register/log in website to test some things, and I'm having trouble breaking it. I'm trying to exploit my own website so that I can figure out (by myself, hopeful...
How do I find the exact encryption on a PDF file? I can't seem to get a direct answer on the net. For example how do I tell if a document is PDF 1.1 - 1.3 (Acrobat 2 - 4), PDF 1.4 - 1.6 (Acrobat 5 - 8), PDF 1.7 Level 3 (Acrobat 9), or PDF 1.7 Level 8 (Acrobat 10 - 11)? Additionally does anyone know which version Micros...
In light of recent developments on SSL issues such as BEAST and POODLE, I decided to configure my browser to only allow TLS1.1 and higher. The trouble is, that I am finding a lot of websites which do not work correctly (some websites serve all JS and CSS resources as HTTPS always) or at all. A bit of digging usually re...
I have a FlipKey account (property rentals site) that has been hacked and I'm hoping to understand how it happened and what I should do to prevent it from happening again. The hacker is able to get into the system even though the password has been changed. Tech support from Flipkey is not helpful and only say to change...
THIS IS NOT ABOUT XSS Threat: Mallory enters control characters in a public web application text field that other users might use in a terminal program (via copy+paste or by running a script). Another threat is a user enters a phishing domain (that is later displayed) and uses a RTL control character so that it looks ...
To delete your account on a website, the following form is used: <form action="/deleteaccount" method="post"> <input type="hidden" name="user" value="<logged-in-username>"></input> <input type="hidden" name="cookie" value="<user's-login-cookie>"></input> <input type="submit" value="Delete"></input> </form> And /...
I'm writing a program that detects ARP poiosoning. My question is: How can I b sure my LAN hasn't been poisoned? Yes, I can use my settings and find the IP address of the default gateway and yes I can get the MAC Address of my gateway and compare it, but both IP and MAC address are easy to spoof.
Apologies if this has been asked before. I am looking to encrypt documents before storing in the cloud. There will be a separate metadata storage, which could be either internal or cloud hosted. My strategy would be to generate a new symmetric key for each document (or batch of documents if key generation is expensive)...
We have an existing API where 3rd parties can push data. The API calls are authenticated with HMAC using the same scheme as described in Ruby's ApiAuth library which I use to verify signed requests. We now need to support multipart/form-data file uploads. I'm attempting to write a bash script as an example API call us...
What is the solution of independent payment authorization from hackers between bank and merchant? Some banks used SOAP protocol. I need another solution.
I've been reading this article about Data Handling Security Measures, what's the difference between confidential, protected, and restricted data? Maybe I could understand it well with example of the data itself.
I'm practicing SQL injection. I've been able to get the column names and table names on a test environment. query 1. On executing below query, I see adminId, adminUsername, adminPassword http://www.sqlexample.com/index.php?id=-2 union select 1,2,group_concat(column_name),4,5,6,7 from information_schema.columns where t...
Is there any way to prove that a HTML page was delivered to my browser, and not modified in any way, after it was delivered over TLS? I need to prove integrity, and authenticity of the sender, ideally by the server's public key. Is there a tool for it? I can only find information about the handshake methods, but not fo...
I received an email in cleartext from someone with a signature.asc attached. Looking at the raw source for the email, it was sent with Apple Mail + GPGMail. Reading the message in Thunderbird + Enigmail successfully shows up as a GOOD signature in the Enigmail details when opening the message. The text is not ASCII arm...
I am implementing a service where application-specific passwords seem a good choice to improve security. A question on why and when they might make sense has already been discussed here Google Account: implications of using application-specific passwords Now, I am interested in the how, especially with strong hashes l...
When you receive an email containing pictures from a new domain in Outlook you can right-click on the address and "Mark this domain as trusted" which will autoload all the photos on future emails. But the "from" field in an email is spoofable by anyone with a passing knowledge of programming. So my question is does Out...
I have made a new methodology for a symmetric key cryptography in which I have used matrix operations, a boolean function and ASCII conversion. Please suggest me the possible parameters to judge my algorithm.
I'm building a mobile app that will use API created by me on my server. These API will be publicy exposed, but not publicy documented. I want to let the user to use the app without authentication for a faster user experience. Lets assume the purpose of the app is "polls", so the user will create and vote for different ...
What is the deference between the two public keys: user public key (2nd element in Token response) user public key inside signature in U2F Token response for registration ?
This may sound like a stupid question but seriously how are private keys kept private? If you're someone like Google you have some huge number of servers to which the public can establish secure connections. The *.google.com private key is required in establishing every one of those connections. Servers are presumably ...
I'm concerned about USB devices being physically attached to my MacBook laptop when I am about to unlock my computer or while my computer is unlocked. My threat model involves an attacker who is willing to spend about $200 to gain access to my laptop, in particular my own user account or root. So, sophisticated physica...
I've read the various questions tagged [ssl] and [mitm] and [proxy] and I couldn't find a duplicate. I cannot find any documentation on this subject online. All of the traffic is currently flowing through the firewalls, from here if it is port 80 or 443 then it is being pushed through to a web filtering system. The...
I want to run a web server at home (really for the fun and learning of web/network and other security best practices), running a web app that I plan to write with Ruby on Rails and be able to access it from outside. I plan to run it on a Linux VM + Apache web (want to install from scratch, again for the fun of it) serv...
Similar to this question, Chrome is showing the connection cryptography as obsolete. Opera, IE and Firefox seem perfectly fine with the connection. My guess would be the message authentication is using SHA1, but when I view the certificate information, the only mention of SHA1 is the Thumbprint. This appears normal fo...
I am tasked with the initial draft of an IT disaster recovery plan for my organization. My predecessor never started one so now I am the lucky fellow to tackle this project. My experience in working with a disaster recovery plan is '0'. (Don't get me wrong, I relish the opportunity.) There are many supplementary docum...
I got into a (somewhat heated) discussion with my colleague today about what characters our application should accept. This was prompted by the discovery that you can enter anything in the search box and the application will dutifully perform a search by that string. However this applies equally to all the textboxes in...
Lets say I have an infected image by some malware, I double-click it and that triggers the default program that handles images to open it for viewing. Will this also trigger the malware inside the image ? Assuming that you can view the image and it is not a renamed *.exe, *.bat, *.vbs, *.sh etc. misguiding file. So acc...
How can someone detect a malicious code, executable or not, inside an image file ? What techniques and what programs are out there that will help you for the detection procedure ? This question is a sequel to the question: Can you get infected by viewing an image?
I have been thinking about a way of storing a "digital testament" without using a physical safe, which is the typical solution I have read. Here is my idea roughly: Generate a strong key pair using GPG/some other standard tool. Encrypt the sensitive information using the previous key. Store the public key with enough...
I'd like to use Chromecast on our office network. Doing so requires enabling UPnP (Universal Plug and Play). A quick search turns up statements like this: The US Department of Homeland Security is urging everyone to disable the common networking Universal Plug and Play (UPnP) protocol...UPnP has been, is now, and will...
For buffer overflow attacks, my exam review says that there are drawbacks to choosing canary values at compile time vs runtime. Why would it be better to choose the canary value at runtime?
Can I get a key HEX from wpa/wpa2 handshake, or from the network in another way without knowing the passphrase? Example: Network SSID: linksys54gh WPA passphrase: radiustest Hexadecimal key: 9e9988bde2cba74395c0289ffda07bc41ffa889a3309237a2240c934bcdc7ddb