instruction
stringlengths
24
27.2k
GitHub recently improved its SSL setup by removing RC4 support: To keep GitHub as secure as possible for every user, we will remove RC4 support in our SSL configuration on github.com and in the GitHub API on January 5th 2015. RC4 has a number of cryptographic weaknesses that may be exploited, impacting the security of...
I'm working with iptables in order to close one or two open ports. So I tried this rule in order to change the default policy. # iptables -A INPUT -p tcp --dport 3333 -j DROP Then I checked the policy using iptables -L -n -v where it showed the port which was dropped. I don't have a basic understanding on how does the...
I've been trying out the new ECC keys that have been added to GnuPG 2.1. I created a primary key, then added an ed25519 signing subkey. So I know get this: ➜ ~ gpg2 -K /Users/jonny/.gnupg/pubring.kbx ------------------------------- sec brainpoolP384r1/0x4E8DDC0EDE5D23A6 2015-01-09 [expires: 2016-01-09] Key fin...
There are four general cross-site request combinations security-wise, and I want to know whether ysite.com, in each case, knows that the reason I downloaded one of its resources was because I was visiting the specific URL that referenced it (xsite.com/page.html), or if not the specific URL, the site / domain perhaps: ...
I have decided to finally replace the closed source and privately owned Google Chrome with the open-source Chromium on my Mac OSX 10.9.2 (Mavericks). I have read the differences between both here: And the article suggests that in Chromium, unlike Chrome, not always the Sandbox feature is enabled (and to open "about:sa...
As software becomes more and more complex it's harder and harder to keep it secure down the entire line. Discussing this problem with a friend we were opting some pretty extreme solutions and wondered whether the following is done anywhere (presumably in companies that would also air gap at least parts of their infrast...
I suspect that my messages via Viber are being sent to another person - because to my mobile have access a lot of people and it could be possible that somebody installed there some software or configured it somehow to send my messages to another person Is there a way to sniff this application and find whether my packa...
On my way to Microsoft to download "security essentials", I noticed that the download page isn't a secure site. Is this legitimately the case, or an indication that I may be compromised in some way? (Some kind of name resolution hijack?)
Take a PDF, copy all, paste it into a .rtf document in textedit, --> make plain text. will this remove/nullify any malware from/in the pdf? In other words, if I open the PDF on one machine and convert it to plain text as such and then send the plain text file to a new machine, the new machine will not be at risk?
I received a key transition statement because somebody found himself in the exact same situation described here. This issue will target more and more OpenPGP users in future, probably even all of them. Instead of only replying in a private message, posting it as a Q&A seems more reasonable. Somebody wants to attack me,...
This question is a follow-up to a comment by Tobias Kienzler to an answer to "What is the purpose of the “Password minimum age” setting?". Consider a password policy that new passwords cannot be identical to the current password or any of the user's five passwords that precede the current password. Nor can they be simi...
I want to use a strong authentication scheme, so I decided to use PBKDF2. I'm using PBKDF2 with SHA256 algorithm, 5000 iterations and I use username (which is full email address of user) as salt. So every user have a unique email, their email address is their identifier. So when they enter password, I'll use PBKDF2 wi...
What should I use as a secure/strong salt for PBKDF2 hashing when salt is not available to use before login as it will be client-side javascript to hash user+pass with PBKDF2 ? I'm going to use sha(user+pass) as salt for pbkdf2. If I use a random generated salt, I should store it in DB, but when user wants to login, us...
The ssh private key file, stored under ~/.ssh/id_rsa in many *nix distros, is typically owned by the user, allowing any program invoked by that user to read the file, and perhaps upload it to a remote server. Is this accurate? Are there examples of malware known to have done this? How common is this?
I currently have a WordPress website that has been updated to latest version 4.1, also latest theme installed. The problem is this SAPE Russian link network that is injecting malware code into the footer.php. Have found the main source code under.. images/cache/'._SAPE_USER.'/cache.php' I delete the file, even set no w...
I have just started interviewing for new computer job after years of working from home. At home I feel very secure with how I protect myself from data loss and keeping my secrets secure. I backup both of our computers with the awesome-four-dollar-a-month CrashPlan, and, in addition to my programming projects, I use Bit...
I was looking at some code on codereview that is far out of my league of understanding and just screwing around, but it raised a question. This program (along with many other encryption programs, i assume) uses a keyfile. Now, if I use /dev/random as my keyfile, it'll (theoretically) never be the same. Therefore, I cou...
Recently I've been working on creating a self signed CA and had some success. Now I have a working CA with valid CRL server. The root CA has been deployed to all of my devices and had no problem. But I have a question, I would like to sign SSL certs to display the green bar like other commercial EV SSL products. I loo...
I am looking at IDS (intrusion detection sensor) logs where some one tired to get a .css sheet through a URL. Ex: www.site.com/CSS/Main.css - which throws a CSS sheet in the form of text file. Is this allowed for any user or something to concern ? I don't have much knowledge on these, so any help is appreciated. c...
First, sorry if my issue is a duplicate! This is an exercise that I can not solve. It is an authentication, simply. But the problem is that the application does not check both the password and nickname. A code is worth a thousand words: if ( isset($_POST) && (!empty($_POST['login'])) && (!empty($_POST['password'])) ) {...
I am learning about the Web of Trust and how to use it. However, I have some issues to fully grasp the concept of Signatory Trust. What is an easily understandable definition of signatory trust? An example would be very helpful.
I often log into X as normal user (of course), open terminal and switch to root: su - I have then a terminal owned by user but effectively with root privileges. Are there any security issues in this situation? Can a malware/exploit running under normal user potentially get access to the root console (possibly by expl...
I've seen that virtual machines in virtualbox or VMware can be encrypted so that no one on the outside can access the disk, ram or CPU cache since the entire hardware is emulated and encrypted too. I'm wondering if this is possible with a java environment. I want to make a secure java computing environment that cannot ...
This is follow-up to Starting a new job after working at home for years. How to best protect data, secrets, and privacy in the workplace? The answer to that question is Follow company security protocol. Never use a personal account on a work machine, ever...which means only on a personal device, and only over a cellu...
I try to find the encoding of a string. I thought at first it was Base64, but actually not, it seems ... Let me explain quickly. For a exercise, I have to decode the following string: ZXJpcjRxbnJ1YnZxbmU= I have to use a form on a website (I can't distribute the URL) that allows me to generate an encoded string from wh...
I have come across a web application that a company has asked me to rebuild. After all the implementation is said and done I will deploy on a private server, and the database will be on its own private server. I will manage the communication between the two with firewalls and the both of the servers data and web will...
Let's assume that I have access to an EC2 instance (whether a private key for a Linux instance or the username and password for Windows instance), and I used a software like FTK Remote Agent to acquire an image. Isn't this image the same as if I was able to go to the data center and physically connect and acquire the i...
I assume "shared IP addresses" work by NAT, because obviously two devices with the same IP address need someway to distinguish them. I've seen some privacy advocates boast they have "shared IP addresses" making it impossible for someone to track their activity. For example IPVanish takes an interesting approach to p...
So I was running a Kippo honeypot. In Kippo graph there is a diagram tilted "Human activity" (see attached photo). What does it mean? Does it mean that, for example, on 21-11-2014 90 real attackers tried to attack my honeypot? Thanks.
I signed the same file producing a separate file for the signatures, and I noticed that every file is signed with a different signature. I don't get it. Shouldn't it always be signed with the same public key in the end? gpg2 --output FILE1.sig --detach-sig --armor FILE I made three files (FILE1,2,3). Every file has a ...
I wanted to use a brute force attack on hashcat but WPA/WPA2 networks are 8-64 characters long and they have multiple possibilities of a password. I was wondering if there was a way to use multiple charsets would it be like: ?l?d?a?u or ?d?d?d?d?d ?l?l?l?l
New to this type of attack trying to understand this .net oracle padding attack, i'm using this data : padbuster https://victim.org/ScriptResource.axd?d=EkIw9i8hChjP_nuqGrT3s8rxntkAiG3TGimvybqMf__tcw10GCO0odSOA1XbLy49N6SbB7O3zkdZuSKdG8IJgRcjH0myrb2kCR0Epem-HDIB7vYIUr_71uvYarEEFTV6Szv50Wpsr0A0218420DiUU1D4-NcTi4zxgAJaW8...
If I'm building an application that connects to a remote database, where should I hide the credentials? I've seen many suggest that you go through a web-application and use POST and GET requests to communicate with the database through the web-app. Now the website should then have some sort of password. Where do I hide...
Is it possible to check if a given number of people are using the same password, without risking anyone's password getting out? I heard that Google does this, not allowing the user to set a password 1000 people are using. What if users have access to their own records (e.g. distributed database)? EDIT: The number of u...
If I have a domain www.mysite.com, and I am making a request to www.mysite.com on port 80 using telnet, but I send a host header with another domain name(www.wrong-domain.com), but the server doesn't correctly verify if the host header contains it's own domain, and initiates a redirect response with Location header set...
Just want to ask if anyone have an idea about how to do this. I'm using a domain lets call it mymaindomain.com to connect to my Main Server, now I have a second Server that uses mysecondomain.com Is there a way to create a subdomain that goes to mysecondomain.com/folderneedtoview? Thanks alot
If I'm connected to a VPN, and I upload a file to a website from my computer via a system similar to this Can they tell that I have uploaded it from my real IP or will they see my VPN IP? Thank you
I'm trying to figure the best way to acquire remote image from an EC2 instance. Here is how I took/trying to take an image of an EC2 EBS drive: Using EnCase Remote Recovery (trial for 14 days): 1.a: on Windows, I connected via Remote Desktop, copied the servlet and started it (it basically to allow the client on local...
I am aware of DCHP tables, and apps that can scan your network to see who is "currently" on your wifi network, but I am more interested in how to tell if someone has been on my wifi network at some point in the "past". Or if that's not possible, what can I do today to keep a running log of all devices that will have e...
I know it is not right to set a permission for the folder as 777, but if it is done so will it be possible to upload a file into that directory without ftp access ? Here is what I mean Lets say the directory listing is not disabled from apache config, and I can access the folder by ip from the browser, like (im trying ...
Is it possible for me to use my own encryption or decryption key and update it whenever is possible?
However an exercise I do not manage to resolve, I have to bypass a check of extension of a form in PHP. It turns out that just the extension is verified, but certain special characters are replaced what makes that even by trying the following combinations, it does not work. test.php%00.png test.php:.png test.php$.png ...
Let's say I am behind my PC and want to go to any secured website (HTTPS). I have the direct IP address so any possible hack on DNS level is not possible (because I am not using it ;) ). The packet which is going to the right place (to the secured website) goes through different ISP servers. Some malicious hacker is si...
I am looking for best practices concerning application account credentials. For example, suppose I got a corporate application which uses an Active Directory application user account to communicate with corporate LDAP. Then, what is the best way to manage this account and its credentials (client-side) ? Is it needed...
I found a few posts which suggest using Microsoft SCM (Security Compliance Manager) to audit the security of Microsoft software solutions: Windows security policy analysis tool How do I apply a security baseline to Windows 2008 R2? IIS and SQLServer Hardening Here's a sample screenshot of SCM, showing "261 unique set...
I have a legacy web application where user are identified and authenticated with client certificates. Now, customer wants to use the same client certificate to authenticate against a newly created web application (different host name). I think this is not possible, since the server certificates have to be different. Is...
If we have a domain with stored-XSS vulnerability. I know it's already critical!.. But, I'm talking about limiting the damage. The hacker can't get the session cookie of the admin, because it's flagged httponly and the server doesn't allow TRACE method. However the attacker can use CSRF to force the admin to create a u...
Lets say I have a couple of friends who I have in my address book and of course they saved me in theirs. There might be the obvious information about me like my phone number and my email address but maybe even more, like my sex, birthday, second email address, work address, private address and so on, depending on how ...
In regards to the default Mail app on iOS 8, setup with various mail accounts gmail, outlook etc. Are emails sent/received to/from the phone securely, if so, how? Can someone who is snooping on the phones data traffic see any email data? Thanks for any input.
Below is a screeny of my Squert GUI showing the Snort events. Notice they all happen at the same exact time. I cannot figure out what the source of it could be. Any ideas? Edit: It looks like the domains are owned by DtDNS. Edit 2: Here's another screeny with more details. It looks like its UDP protocol and port 53. ...
I'm wondering, why is Ubuntu and Mint using SHA1 for Full Disk Encryption? I heard several times that SHA1 shouldn't be used anymore because it is weak and it could be cracked. Could you guys explain to me why we should use the default GUI encryption if we can just encrypt the system over the terminal with SHA512? Am ...
I have some question about server side pdf signing using network-attached hardware security module. my first question is: what is PDF Signing Certificate? Certificates are public keys, how a certificate can be used for signing? from https://www.globalsign.eu/pdf-signing/server-based.html: With the server-based PDF Si...
Environment: small engineering company (<50 employees) and everyone is local administrator on their computer, including everyone in the management group. Setup: Some standard security features are in place: NGFW, (N)IDS, (H)IDS, DLP, segmented network, anti malware on each client, local FW, Windows update, automated th...
I am evaluating the pros and cons of having different Oracle schemas vs. separate Oracle servers. Having a dedicated server for each application is really expensive and I only want to consider this if the security benefits are worth it. One of the main sticking points is the topic of SQL injection. In case application ...
I'm looking for the 'plain English' version of 'bias' as used in the context of the RC4 weakness. I know that RC4 generates a string of psuedorandom bits over, for instance, http(s) traffic. If you encrypt mostly the same data with this, there is little change in what you're encrypting, and this allows for similaritie...
Consequences of tampered /etc/ssh/moduli describes a possible risk if the moduli file for an OpenSSH server has been tampered with. Taking the logic a step further, is there any concern with the default file shipped with OpenSSH? I ask because the Secure Secure Shell article mentions this: If you chose to enable 5 [di...
I have seen many sites which I couldn't open even if i try to access using VPN. Eg: deezer. Any method how to access the website in such cases? Well I use free vpn mainly open vpn.
In RFC 7296, in section 2.13 What do the "K", "S", and T# represent? And my follow-up question is, in section 2.14 What would be the K, S, and T# equivalent in {SK_d | SK_ai | SK_ar | SK_ei | SK_er | SK_pi | SK_pr} = prf+ (SKEYSEED, Ni | Nr | SPIi | SPIr) Thanks !
I want to check locally whether my webpage has any sslv3 poodle vulnerabilities. How do check this? openssl s_client -connect facebook.com:443 -ssl3 command works with Linux. On Windows, how do I do this?
I was reading up a little on openvpn and pki infra and am confused by some of the questions posed by my colleague. :) This answer did help me understand more: https://security.stackexchange.com/a/12369/66224 But I am still stuck with some questions. Searching hasn't helped much. 1.1. In the openvpn with pki process, we...
I want to know the difference between arp and icmp mitm attacks and why someone would use icmp over arp. I am looking for an educated response comprised of the principles behind both attacks, their typical use and maybe adv/disadv of each. I am not a specialist, just an aspiring bioinformatician with interests in cyber...
What initially looked like typical spam now seems extra odd and is bugging me (only figuratively I hope). Ostensibly, a sales rep from DomainNameSales.com (DNS), which I'd never heard of, sent an unsolicited sales pitch to an almost-never used email address of mine offering a domain name for sale I'd never considered. ...
If I configure an .htaccess file like this : RewriteEngine On RewriteRule ^([^/]*)$ /view.php?key=$1 [L] Which transforms: original URL http://www.example.com/view.php?key=123 rewritten URL http://www.example.com/123 Is there any way for an attacker to find the real PHP file (here view.php) and directly access it ...
Slightly old news: Whatsapp Just Switched on End-to-End Encryption for Hundreds of Millions of Users Is there any test that I can perform to verify that WhatsApp is indeed using end-to-end encryption between my and another Android phone?
From MMC > Certificates I can see there's a certificate for the current machine under 'Trusted Root Certification Authorities > Certficates'. e.g. on my workstation called 'RoryWorkstation1' there's a certificate called 'RoryWorkstation1' listed along with all the normal ones like Baltimore, Microsoft Root Authority, T...
Recently, a website I hosted (a wordpress site) for a friend got hacked and all php pages had added code at the bottom in the form of echo base64_encode(...);. Thus there were unwanted ads on very page. The webserver is apache2 running suphp. I imagine a recursive chattr +i on all php files that don't need to be modifi...
I just read that to protecting a server against a DDoS attack involves blacklisting IP addresses. What does the term blacklisting mean? What does it mean for a firewall to drop a connection? How does this protect a server against DDoS attacks? Please keep in mind that I limited experience in firewall configuration.
Reading this guide on how to setup an OpenVPN server on a Raspberry Pi, I saw this line: 4) You don’t want anyone who finds your VPN server address to be able to connect. So next, we’re going to make a key for the server address. It’s just like keeping the door to your house locked. I am not sure what this means. If ...
I'm concerned that old versions of Android may be hacked through unpatched WebViews (in PhoneGap and other apps), exposing Activesync email data, and other sensitive information. To mitigate this, I'm considering blocking old devices from accessing the server. Is this a legitimate concern? How would I block these ...
I accidentally opened up a spam email in my junk folder. However I did not open up the attachment. Is my email and computer ok?
Is there any evidence that the the POODLE SSL or TLS has actually been proven to be a risk for file transfer like SecureFTP etc...? ...or is it just a theoretical exposure?
I made a test to understand tracert against same ISP (TE DATA) from two different location. I got the following result: To google Network A Tracing route to google.com [213.158.189.20] over a maximum of 30 hops: 1 1 ms 1 ms 1 ms 192.168.1.1 2 38 ms 40 ms 37 ms ALMAZA-R06C-C-EG [163.121.172...
Here is my setup: I will create two REST services that are run on Server B and should only be called from Server A. Both servers are on the same network and I am not able to configure a firewall to enforce this. There are several clients that share the same (internal) network the servers are on. Because of this I will ...
When a fraudulent credit card CNP (Card Not Present) transaction is made, merchant is liable for the chargeback. For that reason, our company implemented a policy where we ask a photo of customer's card only showing the last 4 digits before we clear the payment. We ask them to send it via email which I think is a secur...
I have been reading about IDN homograph attacks, and I cannot think of any better way to deal with them than Tell my users not to trust emails asking for passwords, etc Buy all domains similar to mine (expensive and difficult) Is there really nothing else I can do?
My company recently discovered a hardware keylogger installed during an routine maintenance procedure. We tried catching the culprit but unfortunately it doesn't seem like we are going to be able to, so the culprit is still at large. We're looking into ways to prevent this problem in the future. I did some research and...
I tried to hack my second computer and phone in my local network. I am not very experienced so instead of picking the particular options and payloads i just pressed autopwn to use them all instantly. What i actually get now is in the code below, but i am not sure if i achieved anything? I configurated IPs, cloned webs...
Maybe I'm missing something obvious... Are all passwords stored in common, unsalted hash algorithms able to be attacked via rainbow tables?
The OpenPGP (private) key format stores the key symmetrically encrypted. The "iterated and salted" setup derives this key from a passphrase, taking a "octet count" parameter that determines the complexity of expanding the passphrase into a symmetric key. With the highest value for this parameter (~65 million), key ex...
How can SSL tunneling be used to attack a target, and how can I prevent such thing from happening? Does modern network/appliction firewalls have the capability to detect SSL tunneling? thanks Update: I have read how SSL tunnel work. But for an attacker outside the organization, how is he/she going to set up the "receiv...
I have given my website for testing, after testing they sent me a test report with details that the site has a security issue "SSLv3 POODLE information disclosure", and SSLv3 should be disabled to avoid this. This is issue they have reported :- " It determined that the remote server supports SSLv3 with at least one CB...
Since you send bitcoin payments through one of the Bitcoin clients, I assume it announces the payment to the network, so each computer it connects to in order to do so would know the IP address from which you announce the payment. So when you make a bitcoin payment, who gets your address IP, and also which of them will...
I want to share some of my work with some double step verification system. PGP is not enough, since some of my clients cannot use it. First, you need a password to login but you also need the code from your application for 2nd password. Is there any open-source application for such a system? Where should I focus on ...
I have an Apache server which seems to be vulnerable to path traversal, because when I test this URL: http://localhost/ati/../test.txt it will be changed to the this: http://localhost/test.txt and the server shows the contents of test.txt file. However, when I test this URL: http://localhost/ati/../../../../../../../...
Currently installing the OpenVPN service on my Linux box and stumbled across this in a guide: All of our clients will also need certificates to be able to authenticate. These keys and certificates will be shared with your clients, and it's best to generate separate keys and certificates for each client you inten...
There are lots of posts regarding the shellshock vulnerability. I can understand the vulnerability in detail. However, I'm curious about why any Intrusion detection system or host-based tools (e.g., antivirus systems) fails to detect it? Some answers may include Snort does not have the appropriate signature, but at le...
I am developing a platform that uses several secret keys for several usages: key1 for hashing passwords (using pbkdf2-hmac-sha256), key2 to generate non-repeating unpredictable uuids (using aes-128 and a counter), etc. Instead of storing different keys, I thought to generate them from a single key, i.e.: key1 = HMAC(p...
I want to develop a server for a sensor on the Internet of things (IoT). Everybody can buy the App for that specific sensor. The App will exchange data with the server. How can the server validate that data is really stemming from a legitimate App? Since everybody can buy the App and a compatible sensor, 'everybody' ca...
Has the SMS Spoofing option been removed from the Social Engineering Toolkit ? I run 3.14-kali1-amd64. I get only the options shown below. Tried updating both kali and SET but i still dont get the option. Is there a separate package i can i use for it ? Select from the menu: Spear-Phishing Attack Vectors Website Att...
I have questions about our application's security architecture: A critical piece that cannot save state but collects and displays sensitive information is served up in an IFRAME inside a more modern web framework that would control login, session, etc. IFRAME app and parent are on same domain. Both IFRAME and parent w...
How can security be enhanced to the maximum in a messaging app storing messaging history on the device (like whatsapp)? I am specifically referring to methods to minimize the risk of the data being stolen in case the device is physically compromised or compromised using malware. I know that whatsapp encrypt the file co...
I'm trying to use a Hydra script in the following scenario on localhost and Linux: After web form login, my app redirects to another page with header(Location: internalpage.php) I use this syntax but how can I edit in order to give the S= parameter for login successfully done? because every time hydra returns, additio...
What is the best home wireless network encryption algorithm to use? I realize the best answer will probably change over time, and hopefully people can provide updated answers as new standards come out. So far, my knowledge, as of early 2015 is: WEP - Horrible / outdated, but still a bit better than nothing (or may e...
I would like to ask if using brute force attacks on some websites or online services can be risky in any way for the hacker? Let's say that someone is using medusa tool to crack password on his account at some server. Is this visiable for administrators and risky somehow for the potential attacker? Or is it just seen a...
I've been searching but I can't seem to find the much information on how to extract hash's from say PDF files or Lotus Notes files that I can then use in Hashcat? I know how to get them for Office documents using office2john.py but I'm stuck on the best methods for other files. Any help would be appreciated.
Recently they've added a new lock to my building which looks like this: Now we were given the code to access the building, but not the cards/tags. I swiped my tag used for a different lock and it does beep, so I know it can read one. My question is would it be possible to brute force it or figure out a way to make a c...
FIDO Alliance's Universal 2nd Factor (U2F) is a new and promising approach to replace passwords. The FIDO Alliance comprises of many players but so far only Google website seems to support it. Are there other websites I can use to login with my U2F token?
When bruteforcing a captured packet containing the encrypted password, can the owner/admin of the router see each auth attempt? I'm assuming you just encrypt each passphrase in the dictionary file and compare it to the hash of the password, but this can't be done (Aircrack-ng) without a WiFi connection and the AP in ra...
According to the answers in this question, SSH still uses a very basic algorithm for encrypting keys with a passphrase, which can be attacked at a rate of billions tries per second using dedicated hardware. Better password protection schemes have been known for a while. Given how popular SSH is and how critical it is t...
This was a question on an exam: Two persons are using a one way communication channel and the HMAC functionality (concretely HMAC-SHA1). Choose the correct statement below: 1) We can prove who the sender is, because HMAC-SHA1 uses a shared secret, which is known to both of them. Even more, the communication channel onl...