instruction
stringlengths
24
27.2k
Is it safe to check if device is subject to Stagefright bug, for example with: Stagefright Detector App forAndroid by Zimperium ? Is such (or similar test) sufficient? Is there available any 3rd party external manual (e.g. in for of report with traces etc) or automated analysis of vulnerabilities (like Stagefright) det...
Why do we bother with dice ware? Is rolling dice and looking up in a printed book (or using a digital analogue) a string of N random words any more secure than simply repeating a word or two N times? According to one online entropy calculator, at one hundred trillion guesses per second, it'd take 1.24 hundred trillion...
As nonce is supposed to be random and used only one time, when receiving a nonce, I need to check it with all past nonce records. That means I need a database to store every nonce I had before. Of course I can reduce the database size by limiting the life circle for nonces. But I am curious about how people handle this...
The more servers the message passes through the more potential of the attack to execute successfully? (0-day etc). Or is this paranoia? Instead: Delete, disconnect from network, and phone security team?
In this answer, the author states that it is possible to tell the length of your password, by sniffing your TLS packets. Is this true, and how would this be done in practice?
I am messing around with Kali Linux, MSFConsole and DVWA (Damn Vulnerable Web Application). I have successfully been able to get into the system (Raspberry Pi) by creating a PHP backdoor and uploaded it via SQL injection. Now I have access the system, the only issue is I am running as www-data (wouldn't it be nice to b...
Can anyone tell me how, or if it possible to get nmap to write output to a file if ALL of the ports defined in the scan are open? Such as in a boolean & statement - i.e. 636 & 902 & 5989 For example, I am trying to find all VMware-related ports in a scan by looking for ports 636, 902 and 5989 being open. The scan I am...
Windows 10 is perhaps the most Internet-connected and cloud-centric operating system released by Microsoft to date. This, of course, has caused many users to be concerned about how the OS respects their privacy (or doesn't). Multiple sources are now claiming that this OS reports user data to Microsoft which could be vi...
When joining an authenticated network, I have seen the terms "Enrollment" and "Registration" used to describe the process of initially setting up your credentials on the network. "Authentication" itself then is a periodic activity where these credentials are validated. I am wondering if these terms are synonymous, or i...
I have made a service written in c that runs on the Android operating system as a core service. I have a few Android apps which communicate with this service via a socket connection (Java -> C). My issue is that anyone can open a connection to my service if they know which port it is using. The applications have no cre...
We had a setup which used openssl0.9.8 so it had only support for SSLv2 and TLSv1.0. We had a script which generates self-signed X.509 certificates and uses openssl library. Now we have upgraded openssl to openssl1.0.1 to support TLSv1.2. So, do I need to create a new X.509 certificate to support TLSv1.2?
I'm using SecurityOnion distro and I would to run snort on my pcap files. Is there a way to specify just one rule? I couldn't understand whether local.rules is used. How can I show only the result of my rules instead of standard output?
As an IT admin, what can I do to countermeasure an attack performed like this page explains? http://www.pivpn.net/2015/08/hide-your-ass-hide-by-mac-address-and.html What they do is to put a raspberry pi running SSL VPN software on the inside of the office network with a virtual interface connecting to a cloud server wi...
I have a Linux-based embedded system with web-interface for management purposes. According to one security paper, this web-server has rudimentary filter against directory traversal attacks in URL parameters. So in order to bypass the "../" filter, an URL with special strings needs to be used. What are the common path t...
Are path traversal attacks possible if attacker is not authenticated in web-application?
Modern Linux systems, especially headless virtuals, often have shallow /dev/random entropy pools, which can cause software to block or fail to run (e.g. Tripwire in FIPS mode) While many agree /dev/urandom is preferred, many packages simply default to /dev/random Pointing individual software packages at /dev/urandom m...
Recently I purchased a server board made by Lenovo with a "Intel Management Engine" inside BIOS. It is said that it is able to intercept and redirect keyboard input, even if an operating system is running. The whole BIOS firmware was not open-sourced, so it is possible that there are backdoors inside. And now we know L...
If I insert untrusted data in a HTML attribute like this: <img src="http://www.mydomain/<%untrusted_data%>"> and if I HTML encode the " sign in the untrusted data, is this particular code snipped fully protected against XSS? I know that I should be careful not to allow the user to insert the whole URL because then the...
I can understand when I see the same ads across websites, and ads similar to my search history. Some tracking magic through cookies - fine. But Skype has been showing me ads for exact terms I searched for in Google (Chrome), and nothing else. For example, after I searched for "Fossil messenger bag", all I saw in Skype ...
I have researching CSRF and one thing on the list, I feel is questionable. I am not sure if "checking the referrer" is worth doing or not. Some articles I read, are saying something of this nature: However, this is risky, as some corporate proxies strip the referrer from all HTTP requests as an anonymization featur...
I just encrypted my Android phone using the default menu. I was asked for a PIN code (4 digits). Do you think this is a good practice? Is there a limited number of attempts at decrypting the filesystem? What if an attacker dumps the data and tries every combination from 0000 to 9999? (That should be possible in less th...
This blackhat was a new sidechannel attack in the SIM-card AES encryption announced. I am currently using the OpenPGP smart/SIM-card version 2.1 to store my PGP-private keys, which is the same model as the EFF membership card. Does this disclosure mean, it's possible to extract the private key from the chip?
When I was reading a page on Wikipedia several months ago (December 2014) I saw what looked like a pop-up window from BT, but I soon realized that when I closed the page the pop-up disappeared. I then opened Firebug and inspected the box and saw that it was actually part of the webpage itself and that clicking its conf...
Let's say someone is logging onto Dropbox in the library, but the computer has a keylogger on it that steals their password. Fortunately, they are using two factor authentication, which could have prevented this... almost. But there's a checkbox "trust this computer". The user doesn't check it, but the keylogger is abl...
I have noticed that Facebook has been recently recommending people who have texted me. It has been able to connect their number (I believe most of these people are using iPhone) and connect their Facebook profile to mine. How is this happening? How does Facebook access these texts and connect them to users? Furthermore...
For example we submit a form on the following site: https://example.com (SSL Encrypted) Then the form is submitted as GET method, so it becomes like this: https://example.com/form_action.php?user=ANYTHING If user is using VPN Connection or if the ISP is tracking the user, can they see this "ANYTHING"? I know posted fo...
What would be the recommended approach to block those typical bogus HTTP requests that the server gets bombarded with? Also has this attack/nuisance been named yet or is it generalized as Bot Activity? While all of them lead to a 404 Not Found, CPU cycles are wasted in processing these requests and affects access by ...
(This is not a repeat question to "How is Facebook accessing my iPhone texts in order to recommend friends?", linked below. I wish to know the internal details of how downloading the Facebook app on a smartphone allows Facebook to see SMS data, particularly from iMessages. I am asking for the technical details here.) A...
I need some system to gain a high level anonymity - nobody should have the possibility to figure out my IP. I can use Tor, but I do not completely trust to it. So I have an idea for a system with high level anonymity: My computer — VPS1 — Tor — VPS2 — Internet I can register two Ubuntu servers - VPS1 and VPS2 (assume I...
I am creating a MOBA game and I will host tournaments which will be visible on the website. to join the game, you must be logged in on the website and browse the tournaments list and select a tournament and click play. Clicking play will launch a custom protocol like thegame://launch-tournament/tournament-id/ and the g...
I am administering a mobile application with many users. Users can upload their own .jpg images. I cannot know at this moment if image inputs on the application I am administrating are sanitized or not, but I know that a user managed to upload an image which crashes application for whoever views the image. It works lik...
I'm writing an auto-updater tool that is run with admin permissions. It's job is to download and install files from a tat archive. The problem is solved to the point where I can verify identity of the file with ecdsa signature. However there is nothing that prevents file from being modified after signature is verified ...
If there's one thing the Internet is good at, it's keeping track money and knowing where it has moved. Ransomware attacks typically request payment for a decryption key. How is it with such an easily tracked transaction that authors of ransomware aren't prosecuted more often?
I have a local Exchange server, which has several spam and email reception issues (Due to an expired subscription to a spam filtering system). I was looking at the Office 365 Exchange Online protection (https://products.office.com/en-us/exchange/microsoft-exchange-online-protection-email-filter-and-anti-spam-protection...
The server environment: Windows Server 2012 R2 + IIS8.5. We are testing three self-signed certificates created by: C#(System.Security.Cryptography.X509Certificates), makecert+pvk2pfx and openssl respectively. A strange thing happens: When IIS binds certs created by makecert or openssl, the connection from client brow...
Twitter locked me out of my account. I can log in but I can't do anything with it until I give them a phone number. I've had the account for years but they've decided now there's "suspicious activity" with it. I've tried many of the free online receive SMS services but Twitter has them all blocked. Is there anythin...
I'm currently writing a web application that will need to be HIPAA compliant. It is very JavaScript heavy, and ePHI will be sent over an encrypted connection in the form of JSON. The transmission and storage of the data is known to be secure. However, the browser environment can't be studied and verified for all case...
I am quite new to creating services using PHP-cURL. I want to offer some data/service to only registered domains. I know that I can identify these domains using app ID and API keys for data encryption. However, I was thinking about different types of threats. What if some of my customers give their credentials to ano...
I just started a download of a large file. Checksums were placed prominently on the download page. But I just realized that I actually never made use of any of the checksums provided for download integrity verification. What are the reasons browsers do not provide such a feature from a security perspective? Many brows...
I know that it is considered safe if both encryption algorithm and password are safely hidden. However, what if the attacker knows that there can only be a number of algorithms used. So how safe is it in this case? Is it bad practice to include encrypted text in source control?
What are the risks associated with importing a third-party Root CA certificate into the Enterprise NTAuth Store in a Windows Active Directory domain? (Except that the CA is then trusted to issue certificates?)
What would it take to attack or disrupt the GPS system? In other words, how feasible or likely is it for the GPS system and its network of satellites to be disrupted across a large area such as an entire state or country? I understand that GPS jamming might be possible from the ground, but I suspect it would be quite l...
I've just noticed that Windows 10 allow me to change my login method to PIN which is obviously much more convenient than entering my long and secure password after every startup / wake. I am just wondering how secure that is. I have the following questions: Does Windows 10 only allow a small number of pin attempts an...
I recently talked to a potential customer who wants to build up a database which contains fairly sensitive data. One of her key requirements is, that the data storeed will be encrypted in a way that only the user will be able to access it. Even if there are certainly some disadvantages I thought about how I could achie...
Let's say I set up a Microsoft account on a Windows phone and use the associated built in email client. If I send an email, would it be send in plaintext. On wifi, if someone is sniffing the traffic, will he be able to see the contents of the mail?
I have a portable harddrive that is encrypted with LUKS. On a computer I use it on, the computer bugs out sometimes and won't let me unmount it correctly. If the computer is powered off without a shutdown, or if the mounted HD is simply unplugged, is there any risk to the encryption on the disk, as in, could the keys b...
Does CryptoWall 3.0 use some resource on the internet to encrypt my files? I watched this video on YouTube - in this video a tool is used to sniff network traffic and find information about CryptoWall sending data to ransom server. The ransom wrote that the private key is with them, so to crypt my files they need to se...
Https websites cover some security requirements and certify the author, but how can we be sure that an author of such an https website is not malicious?
Suppose I generate a password using a secure random number generator and all the available character classes. For example, c.hK=~}~$Nc!]vFp9CgE. Consider that this password may need to be used in an environment where it cannot be copy/pasted; it must be typed by hand on a keyboard every time. There is a lot of pressing...
On my website, I get this error message in the console: DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337 That link includes a list of conditions a web site must meet to enable the back navigation cache, which can restore a page ...
As far as I know, there is not a way to obtain OpenSSL's version from a website. Then what kind of information does a Heartbleed checker obtain so it can determine if a site is safe from Heartbleed or not?
Well most probably we will never know the truth, but anyway: Beginning more than a decade ago, one of the largest security companies in the world, Moscow-based Kaspersky Lab, tried to damage rivals in the marketplace by tricking their antivirus software programs into classifying benign files as malicious, according to...
I have created this script and it runs great, but important questions remain. Is this script useful and secure? Does it have any possible problem or weakness? root@010010:/# ls -la /root/screenshot0004.jpg -r-x------ 1 root root 494 Aug 14 14:08 /root/screenshot0004.jpg root@010010:/# cat /root/screenshot0004.jpg #...
I've been told it's wise to use .htaccess to block users from viewing .sql files etc. Looking for advice on this. If I block user access, will this affect my admin-side ability to write to sql? If so, can I use .htaccess to provide an exception for my admin-side?
Using Linux, I have system and swap/hibernation partitions encrypted with LUKS, and data partitions encrypted with Truecrypt, and I am wondering when I put my laptop to hibernation if the encryption keys are wiped from the RAM before the computer is shutdown, or if I have to wait a few minutes to be quite immune agains...
I have an account with a bank that has additional security option. When it does not recognize a device being used to access the account, it will either: Prompt with 1 of 3 security questions Send a one-time token via text message to cell phone. I determined that it "recognizes" a device via cookie (when I clear my br...
I want to create an exact duplicate of an existing access point that use WPA2 AES (CCMP) for encryption so that the clients will automatcally be connected to my AP, so I used this command: airbase-ng -c 11 -W 1 -Z 4 –essid MyFakeAP monO However the clients throw authentication errors. What am I doing wrong, or is my i...
In most phone applications with two factor authentication I noticed that the verification code is usually 6 digits long. I wonder why 6 digits are needed - we already know that the user is associated to a specific phone number. Why can't we use 4 digits code? Is there a problem that two different users (with two diffe...
I just did a factory reset on my smartphone to see if it might fix issues with battery life. I configured a phone number as the lock screen code so I have a code that's both long and easy to remember. Are there security risks that make this a bad idea?
After I see some examples of shellcodes in various exploit examples they try to spawn a shell. I want to understand why after spawn the shell have privileged access? Doesn't the shell should have the same privileges as the user running the process?
This question is a spin-off the following one: Are encryption keys wiped from RAM before hibernate, or how to do it (Luks and Truecrypt). In this question, an answer quoted the following message (the initial source was a comment left by a visitor on Bruce Schneier's blog): If people use hibernate or sleep mode, or loc...
I've decided to launch a crypto-basic income system. Crypto UBIs are pretty popular now. For me, it seems like an open nation-state ID should exist by now (2015). However, Mike Hearn, Bitcoin core-developer and a long time software engineer, outlines in his talk that NFC chips on nation-state passports could be hacked...
There are plenty of mobile applications that you sign into with different accounts to retrieve email, contacts, and calendar (such as CloudMagic), and a couple desktop clients (such as Inky). Yet I can find no web based clients that do so, besides forwarding of messages from provider to provider. Say I want to create ...
Quoting RFC4562, Cryptographic Message Syntax (CMS), section 5.6. Signature Verification Process: The recipient MAY obtain the correct public key for the signer by any means, but the preferred method is from a certificate obtained from the SignedData certificates field. The certificates field is a SET OF Certificate...
My understanding is that if you use Authy, without backups/multi-device options, none of your account keys are stored on their servers. It all resides on your single device. Ie, even if Authy servers get hacked and all their data is compromised, and the attacker knows your gmail password, he will still not be able to...
I understand most of the concepts behind hashing password but this one still escapes me. I understand that you want the hash to take some time ( a couple milliseconds) so the attacker can't brutteforce. But at the same time you don't want the hashing to take too much computer resources. Why don't you just hash and the...
I'm a little bit confused about what a host-based intrusion prevention system is. In order to better understand this concept, I'd like to introduce you a case. Let's say someone designed the following software: The software must be installed on a host. The software is designed to protect a single host. The software ch...
This question concerns the type of 2-factor authentication implemented by Google Accounts. The response to this question describes securing transfer of the secret key via a secure cookie. But what if the adversary can execute remote code on your machine? If they can copy the cookie off your machine, this still leaves a...
I noticed in the new SHA-3 standard that it has a variable output size. Knowing that longer output is obviously better (higher entropy), what is theoretical the lower limit of the output size? Can my hashed output, e.g. be 8 bits long? I know for most scenarios this would not be secure.
Month or two my Mac OS machine in ~5% cases goes aviasales.ru instead of imgur.com links that I click. The history in newly opened tab has only the current Aviasales URL, and the link I click looks fine and goes to Imgur, when I click again. I turned off all unreliable Chrome /extensions and see no new /plugins. Grepin...
I am playing with GPGTools on a Mac and quite liking it so far, the GUI makes it nice to handle keys. I am using the default hkps://hkps.pool.sks-keyservers.net key server, to which I have uploaded my public key. However after a day, if I look for my public key on there using the key ID, it still tells me that no key c...
I have a node.js server that I'm configuring for TLS 1.2. I set the following options in the config of my https server: ciphers: 'ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL', honorCipherOrder: true, secureProtocol: 'TLSv1_2_method' I then ran ciphersc...
The only information I found about the difference of performance between dm-crypt (LUKS mode) and ecryptfs is that given that ecryptfs operates at filesystem-level, it may be slower when doing operations on a lot of small files. Given that they both seem to use AES as cipher, in what situation can dm-crypt be faster th...
I have several numbers that are generated by a server. They are 16 digits long and are hexadecimal. I have no idea whether or not any salting or hashing techniques were used. Can I find the encryption algorithm(s) used and/or if any salting was used? Thanx in advance. Examples: 1c7a62331ff7410c e3b9050cfa584ef0 e5c8996...
I was resetting my password on a website and the website emailed me a new password in plain text rather than giving me a reset link to change the password myself. I logged back in and changed the password to something else. I'm wondering - Does this email indicates that these passwords are stored in plain text or with ...
I'm developing an online application that needs the user's social security number. The application won't be processed on the web server so I'll be using an asymmetric key. So a compromised web server shouldn't compromise the data. Do I need to append random data since if an attacker gets into the web server he probably...
What is the most secure way to provide SSL certificates (for HTTPS) to a Docker application? The approaches I've considered: The environment It's common (but obviously not required) to use the 12factor approach with Docker apps, which would suggest environment variables, which are considered safe, but certificate chai...
I have application infrastructure as follows - web client -> load balancer -> Apache (web server) -> Weblogic (application server). I could understand that in case of HTTPS request, SSL handshake will happen, a tunnel will be created and then all the data for session would be encrypted. But I couldn't get clear answer ...
The company that hosts my dedicated server has alerted me to what they think is malicious traffic coming from my machine. They supplied me with graphs showing a large amount of UDP traffic coming from the IP address of my machine and another machine on their network, both directed at an address that seems to be a Russi...
I was curious about how to supply certificate transparency from my web server. There are 3 ways certificate transparency information can be delivered to the client's browser (Source: http://www.certificate-transparency.org/how-ct-works): X.509v3 Extension (Embedded in the certificate) OCSP Stapling (Signed, timestamp...
So, I have website, it uses a cookie stored in the http header of the downloaded html document to maintain the session while the end user is logged on and accessing there 'secure' data. This webpage also includes 3rd party hosted javascripts which are used for marketing and analytical purposes. Can any of those 3rd par...
Tor has guidelines that define a set of rules/techniques to assure anonymity. Some examples are browsing in small window mode so your screen resolution can't be detected, using HTTPS everywhere, and never using third-party plugins and blocking parts of Javascript. Since Tor encrypts data, let's assume that someone uses...
I am looking for some risk assessment tools (preferably open source), which make the analysis of a system based on its hardware structure given as input and point out potential weaknesses of this system. For example, given a WiFi access point in a system, I would expect from the analysis tool to warn about its potentia...
I'm working on a web app that notifies users on whether or not the JavaScript that they entered is malicious. I'm using this article (Examples of malicious javascript) for reference. Is it possible to create an equation with coefficients -coefficients that include occurrences of uncommon characters- that can give a st...
Requirement 8.3: Incorporate two-factor authentication for remote network access originating from outside the network by personnel (including users and administrators) and all third parties, (including vendor access for support or maintenance). Current Situation: We need to be PCI compliant in 2 regions (eg Jap...
Let's say that I have an infected PC. I download a copy of the Windows ISO(obviously clean) and burn it to an USB. Is it possible that the malware on my computer can inject itself in this process/ISO and somehow land itself onto my bootable USB such that even if I reinstall Windows, my PC remains infected?
In addition to scanning user uploaded files, I would also like to ensure that forms for user profiles, comments, etc. cannot be misused to submit malicious script. What are some known good methods of doing so? Should checking for script injection attacks (XSS and SQLi) be done client-side or server-side? I have checked...
I'm looking at implementing SSL Interception on my local firewall, as well as implementing URL filtering. How would I be able to tell if a site was being 'blocked' or not accessible because of the SSL interception piece, as apposed to any other type of block in place.
How to get rid of the Facebook malware which sends pornographic posts in all the groups you belong to? I always made fun of people who became victim of this malware/virus saying they are not cautious enough, but today morning, I woke up and find I have posted obscene posts in all the groups. I removed a few apps, which...
So I just recently started reading into Self-Destructing emails trying to learn how they work but I am unable to find much relevant, technical information. I'd like to know exactly how this works from a technical perspective so if anybody knows some good reading material or could give me a good overview that would be ...
Does any know the difference between triple des dukpt decryption algorithm with PIN variant and Data variant? I have done Triple DES DUKPT PIN variant, which generate session key from KSN and BDK. And then decrypt message using the session key. How about Data variant? How is it different from PIn variant? Thank you
I've been reading up a lot on GPG recently. This page describes how to setup so-called "laptop keys". The idea being that if you lose your laptop, or have it stolen, your primary certification key, which you locked away at home, is still under your control. You are then free to revoke and reissue your subkeys. Further,...
What are the privacy concerns for a local account on a Windows 10 computer, which has all settings set to "private", if an additional "Microsoft" account is being used on the same computer with disregard for any privacy issues? Is one user's personal information being sent to Microsoft through another user? The questio...
I have always heard that email is an insecure method of communication; I assume this has something to do with the email protocol itself. But when sending an email from one Gmail account to another, Google has complete control over how the email is transmitted, and Google seems decently concerned about information secur...
We use an nginx reverse proxy to host two Rails apps under the same domain (one /path leads to another 'secondary' app). The 'secondary' app that lives under a path consumes REST APIs from the 'main' app on the domain with a javascript single-page application. We don't currently have OAuth or anything 'proper' set up ...
Background: A rural wireless ISP configures all their customers equipment to point to their own nameservers. For the past 2 months or so their primary name server has intermittently been serving malicious responses for common domains(that i have tested) - like google. Upon inspection, they appear to be running windows...
Re-wording this question to hopefully be more understandable. Thanks for the feedback. We have a data warehouse which sits in our production environment. Our data engineers can get to the host via VPN and 2FA, but otherwise the host is locked down from much of the rest of the environment via ACLs. We would like to tran...
I want to encrypt some very important passwords in a text document or something like it. What would I use to ensure maximum security.
As I am subscribed to the Exploit-DB Twitter feed, I see many exploits with code looking like this: \x3c\x68\x74\x6d\x6c\x3e\x0d\x0a\x3c\x6d\x65\x74\x61\x20\x68\x74\x74\x70\x2d\x65\x71\x75\x69\x76 I know this is used as a buffer overflow attack but, how and where do I learn to code/make it?
We are a small business and use "Google Apps for Work" and my google apps account was used to set up the business's "Google My Business" and related Google+ pages We have now engaged an online marketing company to manage the business's online local marketing. But they are asking us to share our Google Account login det...