instruction
stringlengths
24
29.9k
I read article about it here and it says: Researchers at Ben-Gurion University have created a new piece of malware called BitWhisper. Infected machines can transmit data using heat they produce. Commands, for example, can be passed from one system to another by modulating its temperature. The target machine’s ...
I'm part of a company that has at least 1000 PC's distributed in different buildings over a radius of 25 miles. I've been asked to make a program to survey technical information on each PC. Since not all of them share a LAN connection but all of them have internet access, my solution was to use a gmail account to sh...
I have a question about implementing OpenID Connect I was hoping I could get some help on. I understand the different flows and get that the authorization code flow is good because it allow client credentials and server-to-server communication is more secure than communication through the user agent. But even so using ...
I need to create a system that allows a user to enter codes to charge an allowance. Embedded in this code should be the amount to charge the allowance. The user would pay for a code which would then be generated on a server and then presented to the user. Then the user would enter the code into an embedded computer wi...
With regards to encryption and preventing a 3rd party from viewing my emails (and ignoring validity/signing), is encrypting an email via PGP or S/MIME useful when I control my server and my recipient controls their server? I'm assuming the servers are not compromised and do not have other untrustworthy admins. And, for...
Today I was trying to enter my routers admin page. I put the default IP address starting with 192.168. I couldn't login so ran ipconfig, and I discovered that I was assigned a Class A address. I was confused because I didn't change my IP so i typed that A class IP which starts with 10.100 a file downloaded and installe...
I came across this term called "Satisfiability Modulo Theories", which when I Googled it, was something that is related to various theories on low level languages. How does this help in discovering 0-days? I also saw people using something called "Z3 solver" could somebody give a shorter explanation of what this is?
I've developed an API. I got confused and I've been reading articles for days. Actually my question is close to these but not exact (maybe a combination of them); Securing REST API that will accessed from different clients Secure no-login REST API for very few clients I need to provide safety to my API. The API will...
I'm writing a piece of software which will have to store a users password to allow authentication with a 3rd Party service. Unfortunately, this service currently requires the use of a password rather than some other method. A key feature/advantage of this software will be the elimination of a sign-in prompt (after the ...
Many people pay for VPNs and select the VPN based on whether or not that VPN keeps logs of the user's activities and if so for how long. The motivation is privacy- they don't want their surfing habits to be known. Of course they take other steps , controlling cookies etc to control their privacy also. My question is h...
SHA-1 is being phased out by a lot of major companies due to vulnerabilities. For example Chrome no longer considers it safe for public web PKI. Is it insecure to use SHA-1 for PGP email signatures?
I have a private/public key pair saved as key BLOBs which were in fact exported with the Microsoft "CryptExportKey" API. Now I need to use the same key pair (specially the public key) under Linux environment. Is there anyway to import the public key from my "public key BLOB" in Linux? My requirement is, I create a docu...
Below is the PHP code I wrote that allows SQL injection with one parameter ie 'id' in this case. On trying SQL injection via putting this 2' ORDER BY 1;--' in the parameter (id field ), I get only SQL errors on the page. On executing the query directly on mysql server ie SELECT * FROM users WHERE id = '2' ORDER B...
I noticed it in, for example, the profiles of some Stack Exchange users. So I wonder: did they want to protect themselves from spamming bots this way, or ...? Does it have to do with security? Because I guess that the bots can easily convert something like "name at email dot com" to "name@email.com"... ...or read si...
I was in discussion with a vendor to implement a backup solution and as flexible as most cloud applications nowadays, it needs to be access from anywhere on Internet without VPN or any special tunneling. From high level perceptive, the solution has a web-ish application that client talks to and it needs to talk to a MS...
PCI-DSS 3 requirement 6.4.2 calls for Separation of duties between development/test and production environments. Based on the guidance text and this, answer to another question, it appears that the purpose of this requirement is to ensure that no one person holds all the access. While this is easy enough in a large...
I would like to write a personal blog without making my real identity public. It's not a "war blog" or similar, I would like to write about several personal problems and give (if possible) some comfort to other people in my same situation. In Italy (and I think in all EU) if you collect emails for the comments and/or y...
Could antivirus programs not just scan all files as they are created instead of using on access scanning. Would this kind of approach not be much more scure?
Thanks in advance for your advice We have to implement VPN connection for nearly 7 countries Option 1 : As we have private MPLS link to all 7 countries. It is been outsourced Third party. They provide VPN with 2FA with a extra cost. But challenge is it opens up access to all countries. Managed by Third party, Every ...
It appears that Java Keystore is often used by web server using a configuration file, with the password opening the JKS written in it and also the password protecting the specific entry. How could that be considered secure ? With this scheme, the "secret problem" has moved to the file. Even if the file is protected by ...
Background I'm trying to design a secure and sustainable web app for messaging. The purpose is to learn how to create secure web application. The application is suppose to be written in Javascript for web based clients and PHP for server-side. Clients using the web application will log in to be able to use the service ...
While running the simpleWebRTC example Step8 of the WebRTC codelab tutorial on my local computer 192.168.2.101 (in my own home private network), when someone (that I don't know) joined in (video + audio) (???) I am wondering how could this have happened since I am running the WebRTC in my private network. Could that pe...
An anonymous VPN service will typically assign the same public IP address to many VPN users. This procedure ensures that a connection cannot be traced back to the VPN subscriber: behind the veil of the VPN’s public IP are perhaps hundreds of potential clients. This statement assumes the VPN provider does not keep any...
We are running an online-press media-library. On this site many brands are uploading images and track press users download and views per image. But some brand now want to add unique code in image so they can track their own images. We tried some steganography tools: http://www.outguess.org/info.php (support JPG) http...
I have a landing page setup for my business located at www.jdmxchange.com and have been getting some strange error logs from ELMAH. I apparently have users (or bots) in the Ukraine probing the hell out of my site. It seems they are trying to figure out what technology I have running under the hood. I get exceptions for...
I want to encrypt my private stuff like credit cards, money, RSA private keys (and so on) but I don't know if I should use AES-256 only or in combo like Serpent-Twofish-AES (I am using Veracrypt). And, does the US government really only use AES encryption?
Today Amazon announced their Cloud Drive with unlimited storage for only 60$/yr. Microsoft did the same with Office 365 a while ago. I don't really want to entrust either service with my dearest documents in an unencrypted way. So now I'd like to use one of these services with some workaround that... allows me to use ...
Let's say I have 2 different VPN services (vpn1 and vpn2) both using OpenVPN and a Linux host running a guest VM. Now let's suppose I connect from the Linux host to vpn1. Then I connect from the guest VM to vpn2 and I browse the Internet from there. The situation, I suppose, should look like this (but I'm not sure): ho...
Besides turning off everything in Edit/Preferences/Advanced/Data Choices and browser.newtabpage.directory.ping browser.newtabpage.directory.source browser.safebrowsing... security.ssl.errorReporting.enabled What should one change in Firefox settings to avoid sending extra info to Mozilla?
Someone appears to be logging into my machine remotely, I am running Avast anti virus with Comodo Firewall both report no attacks.I only noticed this because on my router security logs I see the following. I have scanned the machine with 6 different anti virus scanners and all report the machine is clean, so it's prob...
I woke up this morning and could see over 1000+ of these alerts. They came in the time space 23:34 - 23:35. Can anybody tell me what that was about and should I be worried for an eventual DDoS attack? I am running pfsense and behind that box I have my LAN and a NIC where my server is in a separate environment.
I often run into infected devices in my environment and would like to learn more about the specific infections that have gotten in. What are the best tools and techniques I could use to do this? I was thinking of taking an image of the device and creating a virtual machine so I could run tests, kill it and create a ne...
I'm using django-rest-framework-jwt in one of my APIs. As you might know, the concept is simple: you send username and password and you get a token back. The token is not stored anywhere on the server. By sending the token in the header of subsequent requests, the user associated with the token is extracted from datab...
As the title indicates, I'm looking for industry best practices for enabling Windows Remote Management on a mix of Windows Servers (from 2000, 2003, 2008/R2 and 2012) to allow PowerShell to execute commands on a remote server. What are some security best practices to follow to limit the attack surface should an attacke...
I analysed an live camero's net traffic and found that the client uses both TLS1.0 and TLS1.2 in the handshakings while the server only uses TLS1.0. How can the handshaking uses both TLSV1.0 and TLSV1.2?Is there a reason for doing so? 1.Is TLS1.0 is sufficiently secure? 2.It uses spdy with TLS1.0, can spdy help to make...
If a user download commercial software through the official, corresponding website, but use a product key which you did not legitimately purchase (e.g. websites that offer a list of product keys for free), does that harm anything other than the company who made the piece of software? I was wondering if the person who g...
There is a Wordpress blog running on Wordpress 4.0. Anyone having the company webmail can signup to the blog using their Google+ account and submit blog posts. Once posted they will be sent to some moderators and once it is reviewed moderator can post it on the blog. Whenever anew blog post is submitted for review all ...
If client and AP both have the Pairwise Master Key (PMK) available, why do we need a 4 way handshake again to derive some other key (PTK)? Why can't we use PMK for further security process?
At work we suspect a GWT app (that is not in production yet) we own to be vulnerable to CSRF. We have to look at it from a black-box point of view before a third-party security audit will be performed. Due to the fact that all calls in the app are made through AJAX (with method POST), simply replicating an Ajax call in...
My Linux Jenkins server was compromised and a Rootkit was installed. I know this since a running process tells me the path Jenkins job is running and it includes a URL with path pointing to a Python script. On a different host I opened that script and found several scripts that attempt to install a Rootkit along with a...
Why does the RFC prohibit the server from sending HSTS to the client over HTTP? I can see that if a HTTP client responds to that unsecure HTTP response it might cause that site to be inaccessible to the client, but I don't see any reason for the server to have a MUST in the protocol. Rather the client MUST NOT respond ...
I have a website, let's call it www.good.com. I've been getting a lot of requests to www.good.com under completely different URLs than www.good.com. I suspect this traffic is also causing some site performance issues. I'm running a .NET solution on IIS for reference. I have a logger that is constantly picking up 404 er...
Background: I'm writing a GPL Python OpenPGP to JSON parser which I'm testing on files generated with GPG 1.4.16. If given a passphrase, the parser will generate keys using the string-to-key methods and ultimately decrypt messages. I'm starting off with symmetric encryption messages: echo "hello" | gpg --s2k-mode=0 --s...
I have made a Veracrypt Containment that uses AES to encrypt everything inside. But my question is: can I securely put the containment file in public (everybody can access it) without anybody able to access the files inside it? PS. Some information below may help to answer the question: I use VeraCrypt to encrypt file...
I have mobile devices (low power, low bandwidth) need to act as a proxy for certain types of P2P encrypted data, such as voting, bitcoin payment, or other specific-purpose usage, and I want to make sure that each phone's data service isn't abused. To that end I need to verify The general contents of the data going ...
I just deployed DNSSEC at val-id.com and getvalid.com Since DNSSEC is a requirement of DANE, and I have a CA-based certificate, can I show my support for DANE-based deployments by publishing my CA-based cert into DNS? My concern is consistency in the client. If there is an attack on DNS vs a compromised root, how will...
Is there any way to set a DNSSec-always policy similar to how HSTS commands Web Browsers to always use HTTPS? This would mitigate a DNSSec-strip attack (similar to SSLStrip) I'm also unclear if this would apply to IPSec, where security is mandatory, however not sure if this requires DNSSec as a pre-requisite
I'm interested to know if A hacks B's wifi password, what can A do to gain persistent access to the router even after B changes the wifi password? Secondly, how can we detect the backdoor and patch it?
EFS is not an option for me because I'm using Windows 7 Home Premium. I am looking for folder encryption, not drive encryption.
In my program, I have an encrypted database on the file system with a password. It is decrypted in RAM, and the sensitive data get spread out too much in RAM for mistake to be auditable easily enough. (Which rule out zeroing memory manually and using SecureString all over the place) So what I think about doing is spawn...
I'm still fairly new to networking, and I'm having a little trouble grasping some concepts of the proper firewall rules I need to implement for my desired setup. I'm setting up a router with OpenWRT and OpenVPN to route incoming traffic through my VPN provider (proxy.sh). I've largely got things setup adapting from the...
How difficult would it be for someone who stole your device to gain access to the username and password information stored under the Settings -> More -> Accounts section of an Android device? On Linux shadow passwords are stored as hashes but these are only used to check inputs (they are never transmitted over the netw...
I'm new to the security stack exchange, so feel free to edit the question or redirect me to another forum if this is not fitting. I'm currently working on a web application that will allow the user to manage their Exchange email account; read mail, send mail, create new folders, and so on. I want to support versions of...
There are two processes on a Windows machine: one is related to user interface (UI) and the other is a backend service running locally. The UI process sends data to the backend service and they mutually communicate with each other using inter-process communication channel. I want to secure the IPC channel, however, I ...
I configured XAMPP / Windows on my laptop so that this URL: https://www.supersite.com/ points to XAMPP / localhost rather look elsewhere. I basically generated a self-signing certificate, imported it into Windows and changed Windows hosts file. It works just fine in Chrome, but it's only a "normal" SSL certificate, I'd...
My server generates an AES encrypted file which when downloaded acts as an input for an application. So, should I hardcode the symmetric key inside the application or should I randomly generate the symkey and hide it inside the encrypted data. The size of my encrypted data being few Kilobytes.
I am trying to understand how to bypass HSTS protection. I've read about tools by LeonardoNve ( https://github.com/LeonardoNve/sslstrip2 and https://github.com/LeonardoNve/dns2proxy ). But I quite don't get it. If the client is requesting for the first time the server, it will work anytime, because sslstrip will simpl...
I am trying to understand Kerberos Authentication. So far my understanding is: Supposing 'Alice' (A) wants to talk to 'Bob' (B). Step 1: A -> S: {A, B, None} K(A, S) Where S is the Kerberos Server, and K(A,S) is a key to communicate between A and S. Step 2: S->A {K(A,B), {K(A,B), A} K(B,S)} K(A,S) Server returns...
In SSH, what is the difference between host key and public key. Public key I believe that is part of private/public key pair, so, that anything sent by server(encrypted using private) can be decrypted by client using public key and anything sent after encrypting with public key can only be decrypted by server's private...
McAfee is reporting incoming network connections blocked from IPs like 198.252.206.149 (StackExchange Inc.), 54.179.231.116 (Amazon Technologies Inc.), 74.125.68.106 (Google Inc.), etc. The ports blocked vary: e.g. 54452, 54551, 52931, 53353, 52912, 52902, 52914, 54146, 54156, 53986, 52931, 52914, 53204, 52927, 52912,...
In redir.php: header("Location: {$_GET['addr']}"); For fixing open redirect vulnerability i can think of several ways: 1- (Side effect of) Using a security token (anti-csrf token): if(!isset($_SESSION['anticsrf_token'], $_GET['anticsrf_token']) or $_SESSION['anticsrf_token']!==$_GET['anticsrf_token']) exit('...'); Th...
I was wondering whether anyone knew if malware could spread without internet connectivity? Also, can you defend against malware by releasing counter-malware that spreads exploiting the same vulnerability, but upon infection uninstall the original malware?
I'm new here. Over the past couple of years I've had a growing interest in the security aspects of IT/CS. Recently, I've started setting up a lab for myself based on a kali/win7 dualboot and I've been following the instructions given via The Hacker Playbook in setting it up. So far, I've got separate partitions for...
If we want to allow sensitive data between a web server and specific client only, is there anything more that can be done besides the following? Note that this is potentially a duplicate of Authenticating client without hardcoding key? but the focus here is more on a good solution within this limitation (that there is ...
I am currently setting up development environments for BB10 apps on Linux workstations. BlackBerry provides their Momentics IDE for free from (https://developer.blackberry.com/native/downloads/). The catch is that even though the download links to the installer files on this page appear to be HTTPS protected, they actu...
When you get a certificate from a website you visit, signed by a trusted CA, is it trust-worthy because the CA authority did a background check on them? But how does this help with spoof websites? Imagine this: someone made a fakebook.com and made it look exactly like Facebook user actually typed in fakebook.com hims...
I keep seen this on my tcpdump output.. is prob something very simple and logical but I can't see to see any process with lsof or netstat doing a ICMP request to it's own 127.0.0.1 every 2-3 secs... anyone have any idea of what is creating this? thanks in advance.. tcpdump -i eth0 ! port 22 and ! port 2222 and proto I...
Is there a public list of common suspicious GET request parameter ? I mean - SQLi, Command Injection, Admin access etc. I am interested in such list, to be used to detect suspicious GET request in SIEM(arcsight) Any idea, reference - will be welcome. Thanks a lot
I noticed that a lot of messaging start to provide "End2End" security, but I wonder how this can be possible without a key exchange between the the two clients. To my understanding to provide real end to end security you have to exchange the key between both clients without using the internet, as all the other could be...
I've got to the section related to network printers exploitation while going through one security course. Under "network printer" I understand standalone devices with a dedicated ethernet\wireless link, listening on port 9100, with some administration interface (web, snmp, vendor's custom app) accessible over the netwo...
In software, code auditing can be used as a mean to gain trust into a software. Of course closed, proprietary software would complicate this, and require to do reverse engineering. Anyway there seems to be a way for software to eliminate distrust to some extend. Recent events have once again shown that hardware compone...
I was reading the Here Come The ⊕ Ninjas document about the BEAST attack discovered by Thai Duong & Juliano Rizzo. There are two points I cannot understand. At the section 5 - Application: Decrypting HTTPS Requests, they explain step by step to makes this attack possible. I will be focus on Step 3 and Step 4: (Reproduc...
I have the following open redirect vulnerability: <?php $redirectUrl = $_GET['url']; header("Location: $redirectUrl"); ?> This exploit sends user from your page to evil page: example.com/?url=example.com/faq.php example.com/?url=evil.com/sploitCode.php How do I insert evil.com/sploitCode.php into the victim's page/UR...
Tor is fully secure only if I use HTTPS, right? But not every site supports it, so I had an idea - some online anonymizers support HTTPS, so if I connect via Tor (Tor -> anonymyzer -> site), will that be the same?
I'm building a network that will allow employees and customers to access the company systems. To that end I'm using a Red Hat Enterprise Linux (RHEL) 7.0 server as a firewall/authentication server. Initially for test purposes I'm going to use self-signed certificates. The operational scenario is the client system (W...
Let's say there's a URL www.badjs.com which is untrusted and may contain bad scripts. Intuitively, a view-source navigation to that URL does not execute any scripts so it should be safe. It would at least allow me to inspect the source safely. But intuition is a terrible way to draw conclusions on security issues, so...
I would like to ask about the differences between Software Testing and Web Application Penetration Testing. I am aware of usage different tools in both disciplines Software Testing (JIRA/Selenium) and Web App Pentesting (BurpSuite, SQLMap, etc.). Also I would like to know if these two disciplines cross over and a Softw...
I'm busy experimenting with TCP socket connnections. I have made a client SOCK_STREAM socket andi've got a few questions: Is there any way that a streaming(TCP) socket can get data from another socket without having to connect to it? Is it safer to have a socket that a client connects to send data, and another one tha...
I'm looking for the best way to protect my enterprise against man in the middle attacks, because a lot of people connect to the same network. So I was thinking of creating a VPN. Is this really the best solution against MitM attacks?
I'm reading an article about the recent Github DDoS with traffic coming from non-Chinese Baidu users here. There are two Wireshark screenshots in the middle of the article with arrows pointing to the sequence number of the SYN-ACK step from the TCP three-way handshake, also the TTL from the IP header, and on the second...
The following post is in regards to headless *nix machines only... I know programs like wget allow options to control cookies. However if a program is not HTTP centric, has little or no options for controlling HTTP, though still makes HTTP requests... Am I in some way subject to cookie storage then? If not why? and if ...
Quick question: I'm looking for a simple utility program to be able to decrypt rsa-encrypted data (either base64-encoded or binary attachment) on a Windows workstation. Scenario: There is a group of operators that will get email alerts with information on user they have to contact. Part of the info is encrypted, and we...
I have seen numerous questions similar to the above with answers that relate to elevation of privileges to those of root. the answer and example that silverlightfox has given is one of the better defined. The issue I am having as I try to emulate this exploit is that within my VM installation of Linux Red Hat 2.4.xx wi...
If a server posts a message via HTTPS to another server that does not have HTTPS enabled, will that message still have been sent encrypted? For example, a message from https://example.com to http://anotherexample.com.
Right now I am connecting to my work server as usual and during my connection through the VPN I always monitor the network ping through terminal and its always between 70-90. It usually never goes up beyond that, but lately I have noticed that it will sometimes go up to 1000-3000 then timeout and disconnect me for few ...
there is a username (USERX). It's a suspended user. It it appearing in my user login files. It always appears in the middle of someone elses attempt (USERA) to reset their password, and WITH USERA's IP. There is no code anywhere with the phrase of USERX's user name. USERA always reports they didn't see anything on thei...
I am not sure if this is the place to ask this question and if it is not, i would really appreciate it if you could direct me to the right place. I wanted to understand the functionality and the system behind biometric locking. I was wondering where i could begin and the different kind of bio signals or prints that cou...
I lost my tablet , but I can see that the tablet is connected to the network on my router: :So I know the MAC address but I am unable to trace my tablet using this information and I am running out of time before the battery drains. I suspect it is stolen but at some distance as the signal quality shown is 17% while oth...
As the question says, I would like to know the difference(s) between an Architecture review and a Design review. If someone could explain the two using an example, such as an Architecture review of a network and the Design review of the same network, it would help greatly.
i'm building a stateless authentication system for a Dart application (Dart gets compiled to JavaScript, so the whole application is an index.html file which loads JavaScript and runs in the browser) and have discovered that it's quite tricky to build a stateless authentication system that's actually secure. The stack ...
My MS Word Add-In generates PDF preview of DOCX file on client PC and uploads both files to server. I cannot generate PDF on server. Is there any way to make sure that the PDF is the printed version created by the plugin from the actual DOCX? I need to assure that malicious user of the plugin cannot send the DOCX with ...
If someone somehow manages to copy all the cookies from my PC, can they be misused to get my private information or can information be extracted through them? If yes, please suggest some countermeasures. I am considering a situation when one gets all of my cookies through some utilities, like when I plug-in a USB drive...
From what I could tell, certificates are self-signed. When A wants to call B, after they finish relaying data to server, they initiate communication with each other. Certificates are self-signed, therefore there is no problem in switching them up. Is there some mechanism to make sure that if C is on the same wifi as B,...
On my Toshiba laptop there are a variety of different Toshiba programs that came pre-installed. Many of them are some sort of utility, optimizer, checkup, and update kind of programs that I guess are commonly referred to as bloatware. One of these programs in particular, called "Toshiba Laptop Checkup" tries to run its...
I'm trying to find on the Internet some manual, guide or policy secure about applications should not convert lower string to upper string to store as password I mean, don't make "testpassword123" into this "TESTPASSWORD123". I have read a lot of recommendations, but I need some explicit documment that tells we "yo...
If you have a symmetric key which is negotiated via SRP protocol between a mobile device (e.g. smartphone) and a server, what would be a safe way to persist this resulting key on each side? On the client side you could use PBKDF2 or a similar key derivation function to generate a key to then use to encrypt/decrypt the ...
Do any computer manufacturers sign (DSA, or just publishing a hash) their recovery partitions so that I can be sure that these bits are authentic? I'd like to buy a second-hand computer and reduce the chance of it having any spyware.
When using an anonymous communication network like Tor, to ensure privacy you must route your DNS traffic through the system even if your computer always uses DNSSEC for DNS lookups, would this be true? If so, why?
Assume I have some Information (i.e. my choice during an election) I want my device to encrypt. At the same time i don't want my device to know the meaning of the information it decrypts. Example: Before voting I get a ballot and a coding card that indicates which choice represents which candidate. Now the Device can ...
Most popular web services like PayPal, Google Wallet, and others do not mask CVV numbers, eg: (<input type="password">). As I read, the CVV is a security feature and it seems logical to mask it in order to hide it from prying eyes. But I haven't see any web service that masks this input.