instruction
stringlengths
24
27.2k
I've got a dilemma, should I give my password to my local IT help desk (I am seeing them face to face, and I know that they work for the same company as myself). They want to perform a routine migration for me from one device to another device. Edit: Yes this may well be considered a duplicate. I know that it is bes...
I was reading this article about the fraudulent certificates from Comodo back in 2011. It talks about domain impersonation. I understand that a fake website could be secured with the fraudulent certificates but wouldn't the domain still be a fake one and a dead giveaway? Is this kind of attack related with DNS in any...
I am looking for a way to share admin privileges on some hosts without providing the admin password. From his link, I was thinking of using a primary host from which every user can sudo -u user to have access to the specific SSH key and connect to the other computers without any password. The SSH keys have strong pass...
My goal was to create a private key and to encrypt it with a strong cipher. That key would be used as a root certificate for an internal Certification Authority. However, eventhough openssl supports AES 128 GCM, I cannot generate and encrypt a key using this encryption algorithm. OpenSSL reports error writing key. The ...
I’m planning to add a new Penetration Testing Segment to my personal “Pen Lab”. It’ll be centered around Vulnerability Assessments /Penetration Testing on market leading Next-Gen Enterprise SIEM,UTM,Firewalls Etc. The following Enterprise Level Information Assurance Software I wish test: Network IDS: Cisco 2900 3500XL ...
I have a USB drive encrypted with BitLocker Drive Encryption. Each time I insert the drive in my USB port it works as expected, requires me to enter the password. Maybe I have the BitLocker Drive Encryption configured wrong or something not sure but, after inserting the USB drive and entering my password I can go to a...
It's widely known and accepted by most tech-savvy people, especially those with an affinity for security, that AutoRun/AutoPlay should be disabled due to a number of attack vectors that it opens up. However, Windows 8 appears to still have these features enabled by default. Is there something about Windows 8's handling...
How can I prevent network administrators from accessing, mapping to etc. a USB drive that's in a PC on their network? I'm mainly concerned about files being edited or deleted.
I want to implement TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 between my client and my server. However, someone advices me to add my own encryption&digital signature on top of it (adding a suite of diffie hellmnan,AES,elliptic curves,...) - basically, another TLS over TLS... Does that make any sense? Isn't TLS_ECDHE_ECDS...
What should be the questions asked to assess a company on web app security? Our company is in process of partnering with another company in order to outsource web app security work to them. For us to make sure they would deliver the right assets, what questions, documents, or processes should be considered asking? Als...
So DNSSEC is to ensure that returned IP address is not poisoned. And https is to verify the remote server. My question is that when protected by https, under what circumstances, a client is vulnerable? Say I go to https://www.facebook.com, even if I'm not protected by DNSSEC, what damage can an adversary cause? Let's a...
I deal with a server that is designated as a management server for other systems. It has a local web server that supplies a management console for a product we use. The management console has been setup to run through SSL. Firewalls have blocked off access to the management console for all external systems. There is...
I know that "legacy ZIP-crypto" is not secure and you can get at the contents of the file quite easily. Now the question is, can you also get at the password (assume this is a very long, very high entropy password)? A colleague has actually managed to use one of our "high security pass phrases" for encrypting a ZIP fil...
When I run the following command I get that the following output: netstat -atpun | grep ntp udp 0 0 172.16.0.1:123 0.0.0.0:* 7734/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 7734/ntpd udp 0 0 0.0.0.0:123...
I just found out about the Row Hammer attack. Based on the description, this sounds extremely dangerous, but I wonder what percentage of devices are actually affected by these. Are there any ways to protect oneself other than replacing RAM with one that supports ECC?
I am curious how the community here keeps track of a user's accounts. For instance, in the event of an employee transitioning from the company, how does security make sure that all user accounts the user had access to are in fact revoked. Active Directory is pretty simple, but what about all of the cloud accounts, such...
I am selling my HDD and I want to erase it. I would like to use DBAN, but it doesn't erase HPA and DCO, my question is, does it matter? What data can be here? And my second question - if I wipe HPA with DCO, can I normally install Windows afterwards, doesn't it damage the disc? Thanks.
I am receiving several suspicious SMS messages with links telling me that I have requested subscription to their services (which I have not) asking me to confirm subscription. These SMS appear only when I visit a few selected sites on my android phone. It is as if there is someone in the network watching my traffic and...
Several apps such as GMail, Coinbase, Yahoo and others require the use of the mobile device to gain access to the data within the app. For example Gmail requires TOTP in Google Authenticator (usually co-located on the same phone) Yahoo sends an SMS message (to the same phone) Coinbase uses Authy uses an app (usually c...
Can anyone tell me if proxychains-ng has limitations to work with nmap? I found that it does not work well when using -sV option in nmap. (stop at "Initiating NSE at ..." and never finish the scan) Does anyone have a solution to this issue? By the way, I am using socks4 server for proxychains and default configuration ...
Today a client ran a file they believed to be something else, they said a black window appeared, so I checked the code to see what it ran in CMD, but can't quite work out what it's doing. I've just been reading about CryptoWall 3 and am worried it could be that now. This was the code in the file she ran: http://pastebi...
Every PC can map to any other PC's hard drive(s) / USB drive(s) on the network where I work. When I realized this I thought it was odd. All one needs to do is access the (Start) button then type \\ComputerName\C$ and they can read, write and delete from any drive. Is this a common network configuration? There are ap...
My computer is infected with Malware and (shame on me) of course I didn't back up my photos or word docs. I also happen to know almost NOTHING about computers. Is it possible to upload photos to cloud now without spreading the virus/malware infection or not worth the risk? external hard drive an option?
I am studying for an exam and came across a question asking to find what the single loss expectance would be, but I am failing to understand exposure factor in the calculation. SLE = Asset Value * exposure factor The question: Your company owns a machine that is worth $100,000, if it was damaged in a fire it would only...
When I research about FREAK attack, most of them explain about the server and browser vulnerability, but how about native apps (e.g. Windows executable program, mobile apps)? From Mark's answer on Can someone explain, in simple terms, how the FREAK attack on browsers works?, As far as I can tell, the "FREAK" vulnerab...
If I understand correctly, FREAK refers to a "vulnerability" in which, when a client offers weak cipher suites (usually export-grade cipher suites with 40 or 56 bit encryption) and a server can accept those cipher suites, a man-in-the-middle can perform a downgrade attack to use one of those weak cipher suites, and the...
Running into a possible situation where a client I am working with is requesting that all data that leaves the servers should be encrypted and here, we are talking of hundreds of Linux servers spanning across data centers and also includes public and private cloud offerings. I understand IPSec based tunnels could have ...
As described on this link, OAuth specifies that a login server and a resource server should be decoupled. The idea is that if one of your resource servers gets hacked, no password data is lost. All login credentials that your applications use are on a single server. I get that this reduces the number of servers that ho...
Does cryptsetup uses TPM? or CPUID to identify the hardware environment in order to prevent it from stealing and crack it on other PC.
I am using Tresorit on Mac OS X and iPhone. When I am using it there is always applied client-side encryption before posting the file to cloud. The key used for encryption is AES-256 and CFB mode of operation is used. But I can't figure out how is the key generated and where is stored. Also how is the key transferred o...
I have a good working knowledge of basic security best practices (password hashing, preventing sql injection, CSRF, etc.) but am completely at a loss for finding a solution to common-case encryption and decryption in PHP. Google is little help, with most results being heavily-criticised for being insecure by design or ...
Users are making a deal using the website. Website generated PDF file (something like contract or report). Users perform digital signing of this file (analogous to hand-written signature on paper contract). They use government-issued RSA certificates. Currently this works as follows: I'm generating PDF file once. Then ...
I'm a little bit confused here, since the best practice suggests that main key should be completely offline, so which key should I upload to the public directory? Here's what I have: main key (sign only) subkey#1 (sign) subkey#2 (encryption) subkey#3 (authentication).
So, I stumbled into this question: Why doesn't the TLS protocol work without the SSLv3 ciphersuites? In that question OP tried to disable SSLv3 by disabled it at both protocol and cipher list (by adding !SSLv3). The result is his TLSv1 doesn't working so he just need to disable it in protocol level. Well, I'm confused...
I came across below article. https://code.google.com/p/doctype-mirror/wiki/ArticleContentSniffing on of the things that brought my attention is To be on the very safe side, it is best to actually process the image using an image manipulation library. Read the image file, convert it into a bitmap, and then convert it...
I'm a beginner in penetration testing, and I'm struggling with finding decent material to learn. I used book about nmap, Metasploit, exploit writing etc..., but they contained too much information about too many OS's. I want something specific, something that can get me familiar with Windows exploitation systems, espec...
I have a router (ASUS RT-AC66U) with an embedded OpenVPN server. I'm able to successfully connect to the OpenVPN on the router, as well as, access internal services in my home network; However, Whenever I look up my IP address I still have the IP address of the location where I am currently connected (i.e. 250.456.12.8...
If you are in the habit of using strong passwords (randomly generated by password manager) is there any point in using two step authentication? Assuming that 99% of the time that when you enter a password you do so on your own device, e.g. machine less likely to have key loggers on it (not some public library or cafe m...
in my security course, we were told to practice an xss attack using firefox on this website; http://permalink.co/ No worries, this is a website specifically setup for us to practice security. The csrf field you see should be set to 1 (for token validation, token is random) and the xss field should be set t...
Say we have a session key of between 0000000000-9999999999, providing 33.2bits of entropy. This is far short of the 128bits recommended by most. Of course, it is normally trivial to change session keys to be of reasonable length, but there are a lot of legacy systems out there using shorter session keys. At what point,...
I am quite new to cards and tokens and trying to get a handle on a couple of issues prior to purchasing and using one. 1- physical access to keys on the card or token: Are all of these devices set up to (or easily configured to) require a pin/pw of some kind prior to use? So, for instance, if the card is lost, a pin m...
In order to improve private security and anonymity while browsing the web on my mobile devices I wanted to tunnel all traffic to my own server via VPN and use a proxy software to filter unwanted (Tracking, Advertisement) requests out. Currently I'm using a OpenVPN server and a separate privoxy instance. VPN works fine ...
I have recently set up a managed VPS and it came per-installed with CentOs and WHM. I have configured SSH logins to use private keys and i can SSH into the server with root privileges. I realize that i lack a great deal of knowledge on how to look after a server properly but at the moment i can not afford a professiona...
From this OWASP page on "Insufficient Session-ID Length", it states: Assuming that the session identifiers are being generated using a good source of random numbers, we will estimate the number of bits of entropy in a session identifier to be half the total number of bits in the session identifier. For realistic...
In Windows 2008 R2 and 2012, how do you enforce TLS-only and how do you demonstrate that posture? I am in IP Compliance and have a strong background in practical system administration and support. I have however been too far away from windows administration and support for long enough that I don't know the answer to th...
Authenticated user on web app, using other people's id to update or change their information. So basically the web app is not checking for person who is logged in against the person who he/she is updating the information. Is there specific name for this type of attack?
I am new to NMAP but I was using it to troubleshoot some issues I have been having. I ran a scan on a device and I know the device runs some sort of Linux or Ubuntu OS and I was attempting to figure out what that OS was exactly. When I ran the scan the OS details were as follows: Device type: printer Running: HP embed...
I have a work-issued computer that I have limited access to the Internet due to the security protocols in place on the device. I want to use this machine at home, for work. I want to be able to hide my IP address as I move frequently for my spouse's work as he moves around the world. I understand there are proxy server...
I was wondering what the repercussions were if a Bitcoin exchange or website that holds bitcoins were to succumb to a DoS attack. In my understanding, all a denial-of-service attack does is deny legitimate users access to the website. However, btc-e.com, a large Bitcoin exchange, and many Tor hidden services (which use...
Our company is does not store any credit card details but we do transmit them. We are storing it in a cloud platform which is already PCI compliant. We just require to access the Cloud portal from our company. I understand we need to be PCI compliant as well. But regarding the backup, we need to backup the log manageme...
I have a EAP-TLS network at home which I've managed for some time now. I just got a new Brother HL-5470 printer so I can finally print things at home, which is really nice. The only problem is that printers are notoriously good at being huge security holes. The printer is connected to my EAP-TLS network, which allows...
We have a desktop app that downloads patch content via HTTP. The content is digitally signed and verified by client software after download. Is HTTPS required to achieve PCI compliance if: No PII is transmitted Digital signatures are used to sign and verify If HTTPS is required, is there a specific rule # or section ...
I am aware that client side validations can be easily bypassed by means like disabling javascript. I would like to know the things to be checked while doing a server side validation for file upload. I expect an image file. Basically I wanted to prevent DoS attacks of the type resource consumption. i.e., an attacker ca...
My website has been hacked again. There are many foreign URLs such as here. I've checked the database and there is nothing strange in my database. Does anyone know what kind of hack attack is like this? Then I have to execute all files with exit (); and I quit "on /libraries/import.legacy.php". If I give exit () under ...
Our company does not store any credit card details. We are storing it in a cloud platform which is already PCI compliant. We just require to access the cloud portal from our company. I understand we need to be PCI compliant as well. Are we required to have a DRP (Disaster Recovery Plan) in place for our AD servers/WSUS...
How should I go about handling my RSA Private Key for my high-security Rails web application? This may seem like a "soft" question, not related to cryptography per-se, but is nevertheless very important. What management procedures and general development security tenets should I be following? What are the definitive re...
Is there an open source implementation of Internet Key Exchange protocol for windows? I found only openiked for linux platforms. (http://www.openiked.org/)
This might sound a silly question, but I was thinking this as and extra option(which is not required) mainly for advanced users, who want to protect their accounts even more. Lets consider that other security measures exist(e.g. protection against online brute force attacks, requiring strong passwords when registering/...
I assume all hacking software (password cracker, R.A.T. etc...) are infected. So the hackers using it are probably hacked too, right ?
I'm looking for a secure software development checklist. I know that there exists several secure development methodologies (for example Which Secure Development Lifecycle model to choose?), which cover all the steps in software development, but when it reaches the point of "write secure code", they don't specify which ...
I need to implement a password reset feature for a system that will be controlled by a security question and answer pair. The problem is that I can't guarantee I'll have a valid e-mail address or cell number for the account that I can use to communicate a reset link or code. This means the entire process will happen on...
Following up on this question as the answers are now 5 years old: Can I detect web app attacks by viewing my Apache log file? My boss has tasked me with analyzing our access.log and error.log files after an attempted mySQL injection attack last week. It's pretty obvious when viewing the logs by hand, but we'd like s...
Pretend I take the same CSR and send it to two different CAs as described in the following scenario: I create a CSR on Windows I submit the CSR and edit my SAN names. Request is pending at the CA wait 2 hours. still pending Submit CSR previously sent in step #1 to CA #2 Change the SAN names again, but make it a litt...
My understanding is that a CSR contains the public key from the client, and the response is a signed version of that CSR, with certain attributes (EKU, expiration) and other attributes the CA decides to arbitrarily add. When a key is revoked in a CSR, is the hash of the public key mentioned in the CSR or just the PKI-s...
Internet Explorer has the security setting shown in below screen shot. My understanding is that "unsecured images" are images that are not transmitted over HTTPS. What I am curious about is why does this setting specify the blocking of images, as opposed to other possible non-HTTPS content? Is there some benefit that ...
Is there a standard practice to securing an admin page for an application written in angular and nodejs or just in general? The admin page would approve/ban users and moderate comments. Should it be web facing, able to be accessed just through a username/password? Or something fancy like ssh-only w/ X11 forwarding? Ri...
For learning purposes I am trying to build a web application (Symfony2, PHP) that allows users to post content and have their own password vault, everything encrypted. Since I want to users to be able to share passwords and encrypted content I chose asymmetric encryption for generating a key pair for each user. I will ...
I have a simple product ordering form. A hacker is attempting to validate stolen credit card numbers by making two orders per minute with a bot. 99% of the orders are declined but some are completed. Which tells the hacker that credit card is a valid and active card. Using a CAPTCHA or similar to prevent these attacks ...
I need to generate RSA key pair and show the public and private key on screen (in a secured room). The algorithm must be FIPS approved. So I would like to use iKey 4000 which is FIPS 140-2 level 3 compliant (I am using PKCS#11 library from Safenet to work with the token). If I generate RSA key pair on token (I mean usi...
Does the CA feature of Public Audit Records increase the visibility of my hosts, and therefore the risk of host-specific attacks? Would the only mitigation be to only enable this for wildcard certificates?
I would like to know how I can be sure that I am using openSSL the right way. You all know how the openSSL documentation is hard to read. I know that everybody has different goals when using this library, but is there a way to test that for instance a bad certificate won't be accepted, that only some cipher suites can ...
Suppose I have a live bootable USB drive with Linux installed on it. It is encrypted. I am booting off it on another computer with default OS Windows. How much separation is there between the host machine and the USB drive while I'm using the Linux OS on the USB drive? Can something be installed on the host machine at ...
Let's say I want to store some data in the node's session, for example, like an authenticity token. Obviously I want to store it in an encrypted way if it's going in a cookie, then decrypt it on a server to compare. What's an acceptable way of accomplishing this? I was thinking of simply generating a random password on...
One thing that I found out when starting using PGP: When I uploaded my keys to the SKS keyserver, the keyserver did not take any action to verify that I am who I claim to be. Since a PGP key contains a email adress, at least, the keyserver could have sent an email with an link inside that must be clicked for the key to...
My friends have expressed an interest in hacking, but we don't want to do anything illegal, and considered CTF365, but it was WAY to expensive. Is it possible/legal for one of us to create a private website for us to hack, or play attack/defend with two websites of our own?
Alice, an anonymous informant, would like to transmit digital documents to Bob while maintaining her anonymity. For whatever reason, she chooses to copy the documents to some kind of physical removable storage, for example: USB flash drives, external hard drives or DVD-ROM / BD-ROM, and deliver the media to Bob via sne...
Both the sender and the receiver deleted the text after it was sent, but is it still possible that it exists somewhere and that someone can get to it?
I read that there is a potential security issue with forms like this (action $_SERVER['PHP_SELF']) <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="text" name="search"> <input type="submit" value="Suchen"> </form> Could someone explain how this could be manipulated? Could this som...
I am trying to put modsecurity in apache 2.4.7 a reverse proxy for a tomcat applcation. For a normal request it's throwing lots of logs about allowed methods even though the method used is get. [Wed Mar 11 10:35:33.187404 2015] [:error] [pid 26124:tid 140113409455872] [client 41.66.208.198] ModSecurity: Warning. Match ...
I looked about but couldn't find a similar enough question. I have some remote servers positioned on clients networks, which provide various services (raspberry pi) - and their firewall config is as follows: Only specific IP addresses INPUT and OUTPUT to specific ports. Everything else is dropped. Key only SSH connect...
Although I understand the basic theory behind certificates and asymmetric cryptography, I'm not quite sure on the details of the X.509 protocol. I'm wondering what attacker model a given CA requires to attack the TLS/SSL traffic. Specifically, if I assume my CA to leak the private key it issued me to a third party Mall...
I am currently learning about Wireless testing and have stumbled across a couple of little issues. The system setup I am working on is as outlined below: Kali Linux - 64-Bit (GNOME v3.4.2) Virtual Machine running on; Linux Mint 17 64-Bit Base Operating System Version 2.2.16 Intel i7 Processor Wireless Adapter is...
In the original post on the subject they said that in Chrome 41: Sites with end-entity certificates that expire on or after 1 January 2017, and which include a SHA-1-based signature as part of the certificate chain, will be treated as “affirmatively insecure”. Subresources from such domain will be treated as “active m...
While visiting some https websites (like online banks, etc) url string appear to have little extra green box on the left hand side, with some organisation details. While other https websites just show a padlock see example pic. Why is that, and whats the difference.
Are there any statistics on whether requiring the secure attention key to be pressed on login actually increases security ? I personally don't see the point of that : if you're after credentials, you're better off phishing email or other app's credentials that allow access from the Internet. Phishing OS credentials wo...
I'm in a situation where I know that I have to decrypt a file encrypted using AES 256 CBC and I've the following details: I know the first 16 bytes block in plain text I know the IV (static 128 bit IV is being used) I know the encrypted text I don't need to know the exact passphrase, it's enough to recover the 256 bit...
In light of the recent FREAK vulnerability I am trying to get a hold on what ciphers are being used by inbound connections. I have FTP tracing on which is giving me which ciphers are being negotiated between external clients and the system I am using. However, I would like to know what actually negotiates the SSL ciphe...
for example, in any website (WORDPRESS or etc..) they store passwords in database, using SALT mehtod (as i know)... for example: $P$dfwegfwegewgIT03.wewefefweg if hacker got this password and username, can he detect a real password? shortly, if hacker knows any value in database and my FTP (but the real password is no...
As I learned in a comment for How to encrypt in PHP, properly?, I was told using a string comparison like the following in PHP is susceptible to timing attacks. So it should not be used to compare two MACs or hashes (also password hashes) for equality. if ($hash1 === $hash2) { //mac verification is OK echo "hashs...
Does Dropbox offer any protection against sharing files which are infected? To give more info, my friends and I are currently working on a college project. We find it much more convenient using Dropbox to discuss and keep in touch. Is it possible to get infected if one of my colleagues accidentally shared an infected W...
Alice wants to share a message with Bob, but Alice and Bob can never be in the same place at the same time. We can assume they both know each others public keys (or agreed on a shared key, if that makes a difference). Is it safe for Alice to broadcast the ciphertext over the TV/radio/public internet/etc, or should she ...
I have an internal website running on SSL, but when going through it in Chrome, I don't get a padlock icon at all: However, clicking it does show that the site is encrypted. There are a bunch of obvious issues - our internal CA doesn't have public audit reports and it's using old TLS, but the weird thing is that I hav...
I understand PPTP is widely used still, but insecure. A convenient alternative is: L2TP+IPSEC. How secure is it? What steps in the server setup can I take to maintain a high degree of compatibility with Windows 7+ and OSX clients and still maintain strong security? For example, defining what encryption algorithms are a...
I am running a Seafile Open Source Cloud server (v 4.0.6) on my Raspberry Pi 2. Currently it is set up to simply run without HTTPS or even a domain name on [myIP]:8000. I am also running an Apache web server on the RPI2 with HTTPS. I wanted to know what are the security risks of running and allowing users to access and...
After logging on to a public wifi, I was redirected to this page appearing to be from facebook, and being done via https: which looks markedly different from my normal facebook page I understand that if I don't trust a web site, I shouldn't use it. But what's going on here? The page is legitimate, even though it loo...
Androids apps use fine-grained permissions for security reasons, iOS apps (afaik) do it as well. Windows 8.1 applications don't have a permission schema like that, all Linux versions which I have tried so far don't have it either and I guess Mac OS X also doesn't have it, right? Why are these fine-grained permissions c...
We have our domain email setup with SPF and DKIM - both which seem to be operating normally. When sending emails from webmail, DKIM (and SPF) are working correctly. We have some users using Outlook as an email client. When sending emails via Outlook it seems there is no DKIM or SPF "signature" in the emails. We've conf...
We recently decided to pay an ISP (a substantial sum, mind) for a managed internet service up to and including the router in our head office. Part of the initial discussions made it clear that whatever solution the ISP thought was best it had to include a VPN as various members of staff are on the road a lot, coffee sh...
Do clients use WPS every time when they connect to a WPS-enabled AP? Or maybe they do it just the first time and then they switch to a normal WPA/WPA2 key exchange? If the latter, it's possible for an AP to force a client to use WPS every time?
This email analytics company offers an 'engagement metric' that shows how much time someone spends looking at an email, whether the email is printed or deleted. They also claim it works in pretty much all email clients, be it web, desktop or mobile. Looking at an example for the tracking code (first link), I can see ho...