instruction
stringlengths
24
27.2k
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...
An active attacker changes the ciphertext which was made using the AES cipher algorithm. Which message properties are preserved even though that change was made. Choose one of the below: 1) Integrity of the message. 2) Confidentiality of the message. 3) Confidentiality and integrity of the message. 4) Nothing of the ab...
See these two EFF articles about how Verizon puts a tracker ID in the header of a http request, circumventing anti-cookie measures: Verizon Injecting Perma-Cookies to Track Mobile Customers, Bypassing Privacy Controls How Verizon and Turn Defeat Browser Privacy Protections How does this technically work? Can the user...
Recently I came across some websites using HTTP Header namely X-XSRF-Token and a cookie with similar name. Is it a better mitigation than using random token based security for CSRF?
While auditing a few web apps and websites I uncovered a few serious vulnerabilities which I've since flagged (responsibly, of course). One of the things I noticed was that several development companies had worked on parts of this application and that got me thinking. In the event of a security breach or data leak, who...
Whenever I write rule and save it in burp it gives this warning, I am not able to find out why it warns me The rule is not in-scope for any URLs. Are you sure yu want to proceed? While the rule is in the scope!
Link to the thread: Recommended options for LUKS (cryptsetup) I wonder what's the exact difference between SHA1 and SHA512. I know that SHA512 has a longer key but I've read that it doesn't matter which one you chose because LUKS loops the Hash until 1 second real time has passed. So why are there even the options to S...
I've been monitoring some weird activity in the access logs for my site and I've noticed a couple of weird attempts against the server. I'm wondering if anyone has seen these before. It's an Apache 2.4.6 server. The first one that caught my attention was %63%67%69%2D%62%69%6E/%7 0%68%70?%2D%64+%61%6C%6C%6F%77%5F%75%...
As web developers we need to supply sensitive data to the clients. Clients are usually not very good with computers. They can send an email, pick up a phone call or open a webpage. But won't be able to set up PGP in their email client. What would be a good way to send them their login credentials? Are there any servic...
I manage a vendor app that issues accounts (with passwords, of course) to end users. From what I can see, final user passwords are stored properly. My concern is the initial account generation and communication step. The first point of contact with end users often isn't over the web — it's just as likely to be by phone...
I'm currently visiting China, and I use a well known VPN service for both my laptop and my phone. Every now and then, I get certificate errors when using my phone when I'm connected to a VPN, but this never happens on my laptop. Currently I'm trying to access m.facebook.com and I get a warning that the certificate is m...
I'm looking for a tool which can scan all possible filename combinations on a server and tells you what filenames the server responded to. So it would try something like: example.com/a, example.com/b, ... , example.com/css, ... . It would the check if the answer from the server is a 403 or something like that and try t...
We have a security requirement for IIS 7 (Windows 2008R2) that reads as follows: The service account ID used to run the web site must have its password changed at least annually. Go to Start, Administrative Tools, then Services. Right click on service name World Wide Web Publishing Service, Select Properties, then...
If we allow no RC4 support on any devices, will Crypto Ransomware be slowed down or eliminated? Is this a patching and not a malware problem? Can we block this threat at the packet level?
Thomas Pornin has stated in the past on multiple occasions (I'm not going to source them, he can argue with me if he wants) that humans are bad RNGs. While I agree that human RNG for password generation in the mind is abysmal usually, I wanted to ask if human-aided RNG by a computer is equally as bad. KeePass has a fea...
I am an a-level student writing an encryption program using an rc4 implementation I have written myself. I have the basic algorithm coded correctly (and I have checked that some ciphertext for a given key and plaintext matched another online rc4 implementation by a credible source). I have added a drop(n) method that d...
(I asked the same question on https://superuser.com/ One person recommended me to use this website instead of super user. I hope this question is quite apporopriate here and I can get more detailed information.) I learned about the way to prevent risks caused by these configurations: user_name ALL=(ALL) /usr/bin/vim /e...
I know we're not going to like this question because it has some obvious answers, but I am looking for a thorough breakdown, and I could not find another mention of this topic on this site. Paper Security is still Information Security. If this is a duplicate question, please point to the original and this one will be d...
In my LinkedIn Profile, when I list my past projects as a Software Developer, I think it to be beneficial to list the technologies/languages used. My question is, does this impose a security risk/threat in any way?
So I'm looking into public WiFi security in places such as hotels, coffee shops etc. It seems the current standard is just to use open wi fi connections in many of these locations. I would assume this is for a number of reasons: Simple for the company - the provider does not need to train their workers in basic networ...
If an attacker sends a malicious code for state changing event to a victim and the victim opens that malicious link and clicks on the submit button, can the attack take place when the user is not logged in to the attacked web application?
let's say we have encrypted our drive with AES 256 XTS and the following Hash: SHA1 with ~500k Iterations and a 20+ password SHA512 with ~250k Iterations and the same 20+ password. Let's think of the best hardware and the fastest hardware out there. How long would it take to Brute Force the Hash or the password in both...
Google is a repository of Internet data, as it indexes tremendous amount of data. It uses a prediction service to determine the rest of the search query. With such a huge repository in place, can we take advantage of it to determine the password strength? Can we use the password as a search query to determine its popul...
I work for an online shop and since I worked here we have stored customer passwords in plaintext. I joined the company as a data inputter and when I discovered that we did this I flagged it up with management but they didn't seem interested or concerned. Several years later I am in charge of the website and I now want ...