instruction
stringlengths
24
27.2k
Null Session means using unauthenticated SMB session to IPC$ share and accessing the resources anonymously using the RPC function calls in SMB Since The Processes running Under Local System Account do not have Username/Password so they used unauthenticated Null session during SMB authentication to access remote compute...
From what I can tell, Apple Watch apps act like a remote control to a nearby iPhone using Bluetooth or BLE. Conversely Android watches have the ability to run full applications, and therefore have a local storage component. Some regulations require that data be encrypted locally, and this is an extension of Activesyn...
As far as I know, Curve25519 offers "only" a security level equal to an 128bit symmetric cipher. I'd like to know if there are new (not NIST) curves, which provide a security-level comparable to a 256bit cipher AND already used by some applications? As far as I know, there are curves like E-521 or M-511 which have a ve...
Almost every web service I can imagine has the user pick the password. Why is this? Couldn't the system choose a better password? It doesn't have to be some complicated mess; see this answer. Do users just find their own choices more convenient? When selecting the password for the user, you know the entropy, as oppose...
I'm curious about how the process of signing up for a VPN service with a short lived 'disposable' email address would work. Firstly, what benefit (if any) is there to creating the account anonymously? Is there ever any need for a VPN service to communicate with a user? And how does account renewal work if original ema...
Is there an attack that somehow floods a target process (e.g. by repeatedly calling a WinAPI function that involves the process) and thereby crashes or temporarily disables it?
we have a client application compiled with JDK1.8, and an external server application runs with JRE1.7 or earlier versions. We don't know the exact JRE version of the server side. The problem here is that we cannot establish secure connections between them. We know that Java 1.8 enables TLS1.2 by default, and accordin...
I am trying to learn how to use hydra to crack login passwords. Does anybody know a legal website I can crack and if so the information needed or the code needed to enter the form into hydra?
So I'm unsure how to go about dealing with what I found. It's a really simple security hole, but opens lots of personal data if exploited. I was on a government utility (being vague intentionally) website and I was having an issue recovering my password. I noticed that it was able to tell me my security question answ...
During a recent scan of my website, a robots.txt file was found and in it contains Disallow: /subsite1/ Disallow: /subsite2/ In order not to show any paths in robots.txt, as I am afraid that hackers can try to hack the disallowed directories, what can I do to secure robots.txt and at the same time allowing search engi...
I read in the OWASP cheat sheet regarding certificate / public-key pinning that “Google rotates its certificates … about once a month … [but] the underlying public keys … remain static”. Increasing the frequency of key rotation makes sense to me in that, should a key be compromised without detection, the time frame for...
I know that security controls are divided into three categories, namely technical, management and operational. Going through them I always felt as a though a control belonging to one of the above categories can belong to an other as well. For example, i feel as though separation of duties can be classified as a managem...
I am trying to fully understand the relationship between BCRYPT's COST factors and how much more time it would take a machine to crack a password with PHP 5.5's password_hash() The encryption times I observed on an average server for password_hash() are: COST 14 takes 1.23s to 2s COST 13 takes 0.6 to 1s COST 12 takes a...
After some research without any answer to my question, if it's possible and does it make sense to sign an E-mail with PGP and s/mime (?), I'm hoping to get an answer here. I know that, PGP and S/MIME fulfil the same purpose. They create the signature with the same cryptographic utilities, but manifest a different forma...
Certain business applications or legacy software require running older versions of the Java Runtime Environment on client systems, e.g. JRE6 or 7 rather than or in addition to 8. Assuming that upgrading the application is not an option, is my only option to install an unsafe JRE? If so, what are the potential risks and...
I’m trying to figure out if password managers such as LastPass store passwords in plain text (or hash values that can then be decrypted with the master-password) in memory after a user logs into the browser/extension. I’m trying to find academic work on this subject but it's hard to find. Does anyone know any academic...
I've been interested in IT security for a bit (~1 year) and had a bit of experience with NSM as well as web security. I want to have an overview of the entire industry, with all relevant niches and the association between them. The reasons for this are to (1) identify niches that aren't that known but very approachabl...
Is it possible to recover a private key, given a public key and a substring/a part of the corresponding private key?
I'm designing the update procedure for IP Camera's. I'm wondering if my current design is secure enough. I have a binary file that I want to get to a device. I make a hash of this binary file and encrypt the hash with my private key (a signature). I put this binary file and the encrypted hash in a zip file. I create a...
Consider the following scenario: There is a client behind a really strict firewall. There is nearly nothing available to 'connect to the internet'. Just DNS resolution and HTTP/HTTPS (some whitelisted sites like Google can be visited; others get redirected to the 'site was blocked' page). So the idea was to to build so...
I've read the disclosure post by Emil Kvarnhammar of TrueSec (Hidden backdoor API to root privileges in Apple OS X) and I'm trying to confirm whether I'm vulnerable or not. After creating an exploit.py script with the contents of Emil's exploit POC, I run: $ python exploit.py /bin/bash root-bash will write file /Users/...
I work for a small ecommerce company and over the weekend we received a few emails from customers claiming to have received an email asking them to confirm their card details to process their orders. Here is the text from the email: Hi Jan for some reason our payment processor could not process your order. Can you ple...
Which is harder? If I see 2 pentesters, one with one and one with the other who would this information alone qualify above the other? I know it doesn't work like this and it is all down to experience but from what I've been told the OSCP exam is harder than the CRT exam? Something about breaching 30 systems in 24 hours...
Consider a user that has an open session to a legitimate site with a password on it. This page has no anti-CSRF token. A hacker creates a webpage with 2 hidden iframes. One iframe does a GET on the page with the password and sends this password via html5 windows.postMessage() to another iframe (sourcing the attacker'...
I've been developing a web application and APIs for 8 months. I implemented OAuth 2.0 client credentials for authentication. And now I have to implement TLS to my APIs. I've been dealing with SSL/TLS security implementations for days. I couldn't anything. Still, I'm at the start and started to feel the despair. I can b...
Recently we found our self pondering whether a certificate based mutual SSL authentication protects against a Poodle attack over SSLv3? We’re stuck in a situation where a client-application only supports SSLv3 for getting our SOAP-based webservices. Obviously we want to disable SSLv3 at server side, but the client-app...
Users authenticate with their phone number, get a pin text, and if it is correct, they get an access token. Store the access token in a DB in a Token model. The client always sends the access token in an Authorization header. For requests that require authentication, parse the header, check if it is in the database, an...
I've read Symantec's whitepaper on the Elderwood Project and the blog update on the Elderwood Platform. They both make for a very interesting read, especially in the zero-day exploit meta-analysis that found the Elderwood Platform. Does anyone know of, or have a bibliography on Elderwood?
Lets assume the following set-up: VPN A in e.g. Russia VPN B in e.g. Israel Both registered through a one-time email and payed via Bitcoin A brand-new notebook with a virtual machine VPN A is connected on the host VPN B is connected on the virtual machine Given this set-up, has VPN B any chance to identify an user? T...
I was going through (https://crackstation.net/hashing-security.htm) about doing password hashing / storage the right way. I understood most of it but i still have some questions and doubts which are unclear. I store the password hash (generated with the password and a random salt) along with the salt on the server. H...
I invent things. Think energy, IT security algorithms, etc. I'm actively targeted for information breaches by the largest corporations on the planet. All paranoia aside... I'd like a secure environment to develop software and other ideas before they hit the black market. I know all my current systems including my phone...
About a month ago we upgraded (maybe not the right term) our site to WordPress. In that time we went from about 3800 inbound links (according to Google WebMaster) to about 5000. We exported our list of inbound links in order to do some analysis and found some odd things going on. There were a number of sites that had...
Given an account reset procedures, there are usually some recovery questions, and in better implementations a link will be sent to confirm the password change via email or SMS. Therefore, the attacker needs both information and access to use the password reset mechanism for an account takeover. These controls are often...
I was reading material on secure coding and at many places it is mentioned not to use setuid and setgid bits for privilege escalation. These a vulnerable and can lead to security issues. Instead we should run a dedicated helper process which can do the job, like launchd on osx. SO my question is how is setuid and setgi...
I was using Ancestry.com on Chrome and clicking links within that site to access various features. The pages are pop-ups. Last week I clicked a link and a full page pop up appeared which stated I was a century link customer (my internet provider) and that there was an error with pop-ups and I needed to call an 888 nu...
Is it possible to launch a DOS by repeatedly requesting a webpage (refreshing)? Like holding down F5 on your browser?
I may be wrong here but reading about salt I was wondering whether if we use the same salt for every password saved in our database won't users having same password would lead to same hash even after adding salt, hence diminishing the sole purpose of adding salt. If it is true should we only use random salt to the data...
I don't like asking my (windows network) users for their passwords, it doesn't seem like a good security practice. I also want to train my users to never give their password to anyone if they ask for it. But there are certain things that I just need to do while logged into a person's account. How does everyone handle t...
I cannot speak English well, sorry. What happens if we create a fake AP with linset on kali linux and we disconnect the target. He would then connect to our AP and when he wants to go to a site he will see a fake page that we created where we display the message: "please enter your wifi password" But I think that is a ...
First a little bit of background, About two weeks back one of the developers in my team said they were seeing advertisement popups and links appearing all over the web app we were developing, when they were running it on localhost. He is based in another country and I chalked this up to may be a network or machine loca...
Here's a situation. I am the author of an app that allows my customers to stream videos on their local android device. I also allow them to download the video and store it locally on their android device itself. But now I want to restrict the distribution of the downloaded video somehow. I want to ensure that the downl...
I have identified a website vulnerable to sql injection via a authentication token. Does anyone know where I can find a tutorial / example of cookie based sql injection?
We have two servers that will be sharing data and communicate over a REST API: our main application server will communicate with the server of our client that is managing some assets. In short: Given the infrastructure we are setting up, namely REST API communication between to web servers, is there any reason to prefe...
One of our client scan our site and share following qualys vulnerability. "Apache Partial HTTP Request Denial of Service Vulnerability - Zero Day " We are using "Ubuntu 12.04.5 LTS" with Apache/2.2.22. We have implemented lots of options, mentioned is this url Its CVE is CVE-2007-6750 But every scan find this vulnerab...
Say I have a server with multiple interfaces. I wish to configure each interface as different IP addresses (and host name). Is it advisable, on a security standpoint, to do that? I have an application sitting on this server collecting statistics from different network segments. Or should I use firewalls instead? thank ...
Starting note: After going through some articles and answers posted on SO related to storing secured passwords I'm still not sure whether my way of thinking is applicable to todays reality. I'm currently thinking of a way to provide a secure structure for storing and retrieving passwords needed for authentication of a ...
I will encrypt my SSD using cryptsetup and I would like to know which hashing algprithm to use. First of all, cryptsetup benchmark: PBKDF2-sha256 262144 iterations per second PBKDF2-sha512 167397 iterations per second PBKDF2-ripemd160 362077 iterations per second PBKDF2-whirlpool 190511 iterations per second ...
Recently I found out that there are malicious websites that do not have a domain name on its own. For example, 94.247.2.195 as in http://googleonlinesecurity.blogspot.hk/2009/06/top-10-malware-sites.html Other malware domain list site also shows that there are multiple malicious url that do not have a domain name, e.g....
There are lot of payment gateways (Worldpay, PayPal, ..) offering easy integration, when the plain webpage using URL redirection to the payment page. HTTPS (worldpay,paypal), where the user posts his card details and payment data it is encrypted and trusted. There are two webpages HTTP and HTTPS (secure) for payment. T...
I am working on small project. There is an organization in which it has 100 around systems across the country. All of their machine's traffic goes through a single proxy monitored and maintained by the organization. Proxy is configured to use only white listed websites such as www.google.com and many others.(I am not a...
Somebody hacked my site and uploaded this script (template46.php) to my webroot and its content is: <?php $vIIJ30Y = Array('1'=>'F', '0'=>'j', '3'=>'s', '2'=>'l', '5'=>'M', '4'=>'0', '7'=>'W', '6'=>'L', '9'=>'Z', '8'=>'b', 'A'=>'i', 'C'=>'O', 'B'=>'G', 'E'=>'3', 'D'=>'6', 'G'=>'A', 'F'=>'8', 'I'=>'q', 'H'=>'a', 'K'=>'J...
I am connecting to a SOAP webservice that requires SSL authentication. I (the web service client) have a .pfx file and provided the public certificate for that file to the company whose web service I am accessing. I am able to send a successful SOAP request to their web service through SoapUI (after configuring SoapUI ...
I just created a master key and two subkeys. The first subkey is used for encryption, the second one for signing. Now I am wondering what public key do I have to publish on my website. Does is suffice to publish to public key of the master key or do I have to publish the public key of each subkey?
The crazy password requirements (joke1, joke2) lead me to a situation where there is no way for me to memorize the passwords to the several sites that make those requirements. The result is that every visit to those sites is a password recovery exercise (click on the password recovery link, answer a personal question,...
If I use a VPN service such as IPVanish, will my browsing history appear in office logs. My office sometimes checks on User's network activity to monitor various things. Will using a VPN service hide my activity? On occasion they've been known to use quite a bit of data...such as user's messages sent on sites. Will us...
got a weird question and I'm not sure if I should even post this on here but I couldn't think of anywhere better to ask. Lately, I've been getting some internet speed issues. I closed literally every proccess on my computer that sends packets out regularly, including windows updater, everything. When I ran a wireshark ...
Here is the situation. I signed into my mother's desktop using her password. So I should not be detected as different user. But as you will see later on, the map knew it was ME???? I opened her email to check something I had sent to her Verizon mail (had sent it previously, not right then, using my Gmail from my cell...
I have set up a domain testing environment on a couple of old computers that i had lying around at home. I have done a lot of information gathering and attempts at exploiting the machines via Metasploit, exploit-db exploits and multiple other surfaces such as mimkatz hash passing, golden tickets etc. However, i just ca...
I've installed a ssl certificate from https://www.startssl.com/ in a server running with plesk. The website is the following: https://refood.sal-pimenta.pt/ As you can see the certificate is fine but not that good in terms of security (sha1 and 2048 Bits key), and this fact is pointed out if you use Chrome. This is rea...
Let us consider two network entities. Linux1 (eth0)=============IPSEC=============Linux2(eth0) 192.168.1.1 192.168.1.2 The IPSEC Tunnel is V4 over V4. When i set up this tunnel through IKE Strongswan, when i do "ipsec statusall", it shows a connection between In...
I'm trying to find a way to exploit the buffer overflow vulnerability in the following source code so the line, printf("x is 1") will be skipped: #include <stdio.h> #include <stdlib.h> #include <string.h> void func(char *str) { char buffer[24]; int *ret; strcpy(buffer,str); } int main(int argc, char **...
What are the risks of using HTTP instead of HTTPS assuming that there isn't any rogue hacker sitting on my personal WiFi network waiting to sniff my traffic? Can a hacker sit in his boat in the middle of the ocean to tap into the network lines and sniff my packets? Or is it not possible (or extremely hard) to do so onc...
We run a website over HTTPS with a wildcard certificate from Positive SSL. Today, when I opened Google Chrome (v. 42.0.2311.90 m) and navigated to the site, I noticed a red cross through the https part of the URL in the address bar. When I click on it, I get this: Can anyone explain what is going on here? Should I get...
I am trying to understand the relation between some tools and concepts used for MitM on a wifi network and how https transaction (over this wifi network) between an android app and the respective server can be intercepted and modified . I am new to this domain, so please bear with me. So I want to CAPTURE and MANIPULA...
I want to use RSA to encrypt/decrypt some data using IIS's ssl ceritifcate, from within a web service(WCF). I've managed so far to do this by using .NET security classes(RSACryptoServiceProvider/X509Certificate2) - the client uses server's certificate to encrypt the data, the web service can use the private key(by gran...
Lately, I've been getting slow internet. I checked wireshark and noticed I keep receiving in matter of seconds thousands of UDP packets that my computer does not respond to, and here's the twist: There are almost no repeating IP addresses. It's really weird. https://i.stack.imgur.com/AA4t0.png Should I be worried? (By ...
When I try to run the : http://www.rapid7.com/db/modules/auxiliary/scanner/ssh/ssh_enumusers using the given options besides proxies I get the output: msf auxiliary(ssh_enumusers) > run [*] [2015.04.16-14:09:15] 10.15.0.7:8022 - SSH - Checking for false positives [*] [2015.04.16-14:09:16] Scanned 1 of 1 hosts (100% co...
I just came across the issue about MitM on Opera/Nokia browser 2013. I know, this is an "old" problem, but it seems very interesting to me. I was wondering how Chrome on mobile handles the SSL certificates and noticed something I didn't expect. There is no possibility to check, which certificate it actually is. Who is ...
It's my understanding if you're logged into your Windows PC as DOMAIN\DUDE.NAME and you have access to \DOMAINFILES\SECRET STUFF\SUPER SECRETS.xlsx any process you run can also access that file - there is no easy way to "launch process without access to [insert entities here]". So when DUDE.NAME runs, for a random exam...
I've been learning about What is a rootkit? As well as rootkit building and general system architecture. I have read that there are "User mode" rootkits that run in ring 3. But these aren't the highest level of control over a system. The holy grail of a rootkit is to get ring 0 control? What protects the kernel and sys...
I want to use the Cryptographic Message Syntax (CMS) of OpenSSL as documented on https://www.openssl.org/docs/apps/cms.html on OS X. When I try to run openssl cms I get the following error: $ openssl cms openssl:Error: 'cms' is an invalid command. Standard commands asn1parse ca ciphers crl ...
My system will be running for a well known insurance company within the UK, it will hold and process a lot of information for claims, brakdowns etc etc. I am worried that the company and the site as the site needs to be accesses externally by brokers will be a target for DDoS. Is there anything I can do within the code...
If some attackers compromised an ISO image of Ubuntu and replaced inner PGP keys , then I will not to able get&install security updates. Is it right? I'm asking it because I possible may meet the compromise OS and I heard that Ubuntu updates are PGP signed.
I found 3 php files in a htaccess-password-protected upload folder on my server: 1. default_folders.php 2. factory.php 3. HMAC.php Each of them contains a variable string, eg: $Ssy='XEYP'|~djJjLkpBgK4;$Virhp='I@$'|hD1;$Uu5f9="~5q=".h9weU."((6."^#x5VexmnkagI9a'. '4b.o7@((&G[aA';$nUv9CYo5id='@@DP'|HTTP;$ujR=UA|'...
I don't understand the https security model attempted upon me by The OpenBSD Journal (undeadly.org). Instead of using self-signed certificates for https like they did in the past, they for a while have had 6-month certificates signed by Root CA, which they do appear to change at least somewhat promptly. I guess that c...
Lets say we have a decentralized open source p2p chat client meant for secure communication. The main attack vector seems to be the (centralized) update mechanism. What methods and/or techniques can be used to minimize attacks during the update process. In the end a malicious developer can always introduce malicious co...
When under (a security) attack, it might be useful for the victim to first identify the source IP, then potentially contact the offending ISP. There seem to be plenty of tools for the part where an IP can be mapped to an ASN. How do we go about mapping ASN to specific contact information? Some research has yielded serv...
Windows kernel level HTTP driver http.sys is affected by remote code execution vulnerability (MS15-034). This security update resolves a vulnerability in Microsoft Windows. The vulnerability could allow remote code execution if an attacker sends a specially crafted HTTP request to an affected Windows system. This...
I've have a question on the PRNG in OpenSSL. I would like to understand how do you evaluate the diversity/entropy of the PRNG used in the OpenSSL (Cryptographic Library). If this is the wrong forum, do point me to the right one. Thank you.
I'm trying to get a handle on the difference between certain web languages and the security implications of each. Specifically this is with regards to executing code in the context of the web browser on the server side. I understand with many injection flaws such as cross site scripting and Javascript you can have imp...
The Israeli Minister of the Interior is pushing legislation to introduce biometric IDs. On the one hand I hear his argument that it can help to prevent identity theft. On the other hand, something makes me very nervous about having my biometric "password" in the hands of any government. And I worry what will happen ...
Can I tell if my USB flash drive has been plugged into other devices?
If I download the OS image from Ubuntu servers from a location where I can get the MITM attack and get a compromised image, then how I can check its hash to prove that its original image? Hashes may be replaced on official site by the MiTM attacker. But it is not a problem because I can check them on an IRC channel or...
We have a defined and certified scope. If we have a business event that impacts the services or a building that is "in" scope and we have to shut that building down and recover services to another site that does not have an equitable set of physical and logical security controls how does that impact the validity of the...
Not sure if this is the right forum, and I am pretty sure that his must have been answered before (I searched a lot but I haven't found a definitive answer). Do the Linux random number generators (/dev/random and /dev/urandom) comply to any industry standards? More specifically, if my application uses /dev/random, can ...
It was recently brought to my attention that a certain big bank website allows users to log in with passwords that are not case sensitive. After confirming this, I checked other websites I bank with and found a second big bank website that does the same thing. I did not check their mobile clients. To me it seems like t...
I'm doing some research about how Silverlight protects AES keys. Here is the scenario: There is a smooth stream live encrypted channel service. When i log in to the service and tune the channel, silverlight makes a request to Playready Server to get the key for decrypt channel. I can see this traffic with Fiddler. Her...
How would I view all the authorised SSH clients from a unix server? I know that cat ~/.ssh/authorized_keys shows authorised keys if logged in from root. Can other users set their own authorised keys too? In which case, how would I view all system authorised keys?
I'm using Nmap for penetration testing for a while, and I need to know: Assuming I obtained user credentials, is there any script that I can use, for searching what resources this user is able to access? e.g What places he's able to connect (RDP). I used this script:smb-enum-shares.nse to reveal the shared folders he ...
I am implementing SSL pinning as a security requirement for a project and the HTTPS endpoint is giving me SslPolicyErrors. The following errors occur, RemoteCertificateChainErrors RevocationStatusUnknown UntrustedRoot This only occurs for our QA endpoint and not our PROD endpoint so I think there could be an i...
ECIES is Elliptic Curve Integrated Encryption Scheme. Both Certicom's SecurityBuilder and RSA Data Security BSAFE provide ECIES. Both are FIPS 140 validated, and both clearly list ECIES in their data sheets. ECIES effectively creates a stream cipher and XOR's the keystream with plaintext. That's grossly simplified, but...
Does anyone know about this ICLOAK USB device? Opinions or how well they work? I'm looking for a security solution when I'm using PCs where I work. Occasionally we have to log into to web sites, from work, to check sensitive information regarding our pay stubs, pay rates, retirement plans etc from work. They are pre...
Nowadays the tools of Honeypots are not reliable as before, because an attacker with some knowledge can detect it and override its power. So if I want something with the same characteristics as the honeypot, what would I use ?
I've moved from a job where developers were encouraged to use technologies like docker and vagrant to create VM's on their workstations for testing and development. At my new job, the IT manager insists that allowing a user to create a VM will compromise the security of the entire company. I know of many companies (li...
I've come upon what I would call some "nasty" javascript coding (I come from a KnockoutJS / Angular / Web API 'world') in which WCF services are exposed to javascript by production URL's, i.e. "productionserver.com.WCFService.WCFfunction(parameter, parameter)" Here's an actual piece of code (with some changes, of cours...
I need to generate a cryptographically secure random number on iOS and Android. I could use a software approach or leverage the built in OS API for this. In each case, is it better to generate a secure random number when no other processes are running? I ask because I'm thinking of displaying an animation during the ...
The most common justification for Tor is that people in countries like China that don't have full protections on free speech can use it to publish dissenting opinions or access foreign information. I don't understand how this protects them. Even though their governments cannot tell what information they're publishing e...
Keccak is the winner of the SHA3 competition. Since Keccak is highly customizable (presumably for security/memory/time/speed tradeoffs) there does seem to be some controversy around how Keccak compares to SHA2. SHAKE appears to be a set of parameters to reduce friction in the drop-in replacement of SHA2 How does Kecca...
So I have an SSH tunnel which I use with dynamic port forwarding to the alternate http port on the client. For initializing this connection, I'd like to implement an additional verification step, preferably phone / SMS verification and the Google authenticator (https://developers.google.com/identity/ ) should be the be...
I have a protocol I am designing that requires anonymity and privacy. My idea is to have a minimum number of hops in the network before the message can be sent to its intended destination. The response can then somehow be encrypted such that only the original asker can understand. To maintain privacy, each hop only kno...