instruction stringlengths 24 27.2k |
|---|
cookies usually contain a sessionId to keep track of a logged user.
What would prevent a malicious user to forge millions of requests with random sessionIds and send them to a server, hoping to luckily end up with an existing session Id, and therefore stealing a random session ?
The only thing that comes to mind is th... |
I am currently in the first year of Computer Security at the university. But I have some doubts about the course. So I want to ask the professionals some questions :D
Is it better to lose a year and change to CS?
Do companies recognize a Computer Security course as a good course? Because I mostly see companies aski... |
I've come to find Full Disk Encryption to be a rather unsafe method of securing data as standardized tools are becoming available to just read out the encryption key from RAM, where the system needs it to be to make use of the system partition.
The more secure approach I suggest is to have a separate data partition wit... |
When I log onto my bank's website on a new device (be it a new phone or a web browser I haven't used before) it prompts me to send an activation code to my phone or email. I have to enter in this one-time code before it will let me log in.
The next time I log in I don't have to do this, unless something happened like ... |
GnuPG allows the user to sign a key with a non-revocable signature. I have done this when I’m signing one of my own keys—signing my personal key with my work key, for instance. Is there any other situation in which this kind of signature either should or should not be used? Are there any commonly-accepted semantics in ... |
Suppose you want to create a new account in any website (let's make it Facebook), how do they check the Gmail ID or any mail ID we entered is a valid mail ID? I observed that some websites are vulnerable to that. How will they verify it?
|
As I understand it, if you want to be FIPS-compliant you have to use FIPS-certified components. My question is how different can your use of the component by from what's on the component's validation certificate be for you to still be using a FIPS-certified component?
For example, here's a validation certificate for N... |
To prevent user from downloading bootleg copies of software , users often have to enter a string of hexadecimal numbers which would be used to authenticate the user.
I think the basic idea would be that that the secret key is embedded in the software and a successful authentication occurs when there is a match between... |
I'm actually working in a medium sized company with security concerns. Let me explain you my problem :
The context:
My office has one single internet line.
This line is accessed by anyone in the office over WIFI.
My server use the same line in LAN, this server needs to send
periodically important information to a ... |
I am looking for some open source tools to manage data from vulnerability scans. My company uses Tenable Nessus, Mcafee vulnerability mananger, acunetix, appscan for vulnerability scans. However it is extremely difficult to review output from multiple tools and generate VA report from it. Also it is very difficult to t... |
I am currently working on a RESTful webservice with Java that is used by mobile devices, namely Android and iOS, using a framework that allows me to abstract from both. I'm adding this information because it means that I am slightly limited when it comes to the use of frameworks that might help with security.
What I am... |
I am a fresher computer science graduate from India , I always wanted to pursue career in Information Security and interested in VAPT. But company I am selected in is giving me Security Operations Center Analyst (SOC analyst) profile. I am confused ,should I take it or wait for other opportunities in VAPT(vulnerability... |
I will be giving a presentation on "cyber security" to a school class of 16 year olds and want to show them how network security works, how important privacy is (and why it matters) and how to protect oneself online.
Apart from (static) general slides on the topic I want to show them in an visually appealing and under... |
I'm trying to do some security testing for my server(not a web server) which is sitting behind a nginx proxy.
To start with it, I've done some fuzz testing using Sulley. As expected, most of the fuzzed requests were handled by nginx. I also tried using BED tool but since my server expects request on a specific URI(http... |
I intend to run an Elasticsearch index to store a persistent copy of data retrieved from an external service. My plan is to host the Elasticsearch index on AWS, and have it listen on 127.0.0.1 only. I was then intending to use a reverse proxy (nginx) to only allow search-type requests, and reject any others (e.g., upda... |
Consider such two factor authentication on web site: say when user enters username/password on web site - and receives SMS on mobile phone number. For attacker to access this he must know your username/password - and also steal your mobile phone.
But if I want to protect mobile phone application this way, I think the s... |
I'm trying to understand CSRF tokens and one thing isn't making sense to me.
For a web API, you can provide a CSRF token just once, on authentication, and expect the client to remember that token (using local storage or some other means) throughout the course of its use of the application. It can be submitted with eve... |
I'm having application with running good in codeigniter, mysql and jquery. Currently we are planning to evaluate our web application with mobile application. So we planned to develop web application, android,ios and blackberry. Everything is native application.
For everything we planned to develop codeigniter restfull ... |
I'm trying to decrypt a message sent over a secure communication channel using TLS_PSK_WITH_3DES_EDE_CBC_SHA. I now have the client random number, server random number, PSK identity and PSK value. My problem is how to derive the key that was used for encryption and decryption.
I have read RFC 2246 TLS 1.0, and RFC 4279... |
I run a web server and log connections that are dropped. Occasionally, I get a burst of TCP RST packets from some of my clients, like this:
Feb 11 11:56:29 SRC=1.2.3.4 TTL=57 SPT=38383 DPT=80 WINDOW=0 RST URGP=0
Feb 11 11:56:29 SRC=1.2.3.4 TTL=57 SPT=38383 DPT=80 WINDOW=0 RST URGP=0
Feb 11 11:56:29 SRC=1.2.3.4 TTL=57 S... |
I would like to extract the public part of a revoked P12 which doesn't belong to me. I can't open it with KeyStore Explorer because I am prompted for the password, is it possible with OpenSSL ?
The password only protects the private key(s), not the certificate, am i right ?
|
Although this is something that only employees can use, I'd like to prevent the tampering anyway. I don't like insecure code, and this is hideously insecure.
Here's an example link:
<a href="#' + j.id + '" onclick="LoadThis(\'Test.aspx?id=' + obj.id + '\', \'post\', null, null);">Edit User #' + j.id + '.</a>
I sent th... |
It's perhaps my lack of deeper knowledge of how the DNS, NAT or TCP works, but I have been thinking about the following scenario and can't figure out the following problem which arises in DNS-spoofing MITM attack:
Imagine a MITM attack, which is carried out using DNS spoofing. A victim tries to connect to server A (www... |
I am interested in installing a security camera in my car, but I am worried about an adversary gaining physical access to the camera, and destroying the footage; leaving me with no evidence. Unfortunately, I can't just lock the security camera DVR in a room, like I could with a building. Uploading the data to a server ... |
From a security perspective, is visiting via the .onion address more/less secure?
I'm using Facebook as an example, but this question is really about any website which has both a 'normal' and a Tor URL.
|
Is there any virtualbox or vmware appliances or anything like metasploitable that one can use to practice mobile pentest without the real hardware?
I can find those for traditional ethernet but what about mobile, especially phone network like 3g/lte and also others like wifi, bluetooth etc.
Thanks.
|
I've been working on a Home Automation system now for a little more than a year and I've added a plugin system to it. I've also added so others can submit their plugins and if I accept them then they're automatically added to every system of mine connected to the internet. Now there's nothing wrong with the plugin syst... |
I posted this question (Hacked or Ghost Referers) on Google groups earlier today, but I also wanted to see if the security experts here have any insight into this behavior.
I've got a web application that I'm developing locally. The server is run from a local, non-internet connected machine. The computer I access the w... |
I ran across this site http://en.quiente.info, my friends tried it and they say it worked for them. It asks for most of the privileges on Facebook even sending messages on behalf of you.
Any one has an explanation for his. I didn't try it personally I'm afraid of losing my account.
|
Randomly I heard a man's voice from our home Mac, "yea, I can hear them"
There were no internet windows open. We cover our camera with a sticker, call us paranoid but are we really? NO!
Does anyone know how I can find out how, why, where, who is listening in on me?!?!?!?
|
I have a bunch of servers that need to access somewhat sensitive data (passwords for ftps, api keys, etc). Currently I copy a plaintext file back-and-forth between the servers via ssh and encrypt all the keys based on the server's private ssh key, but I'm looking for a more robust solution that a) other people can do ... |
We recieved the following e-mail with from one of the UI developers
When we browser site with IP: http://x.x.x.x/, it doesn’t
redirect to http://www.our_website_name.com. This could cause duplicate
content problems if a search engine indexes site under both its IP and
domain name.
Can we set redirection from IP ... |
Although some of Microsoft's servers are running on Linux, at least half is running Windows Server of some kind.
I'm trying to understand how with so many unpatched and unresolved vulnerabilities in Windows Microsoft's websites remain operational and don't get defaced on a regular basis or even on any basis at all. Is ... |
Now I assume that everyone knows of aircrack-ng and John The Ripper with it's fantastic ability to pause and resume cracking.
With that aside, I want to add Crunch into the mix, however I can't seem to add crunch to it.
The plan as goes:
Crunch > John OR Aircrack [ If > John, then Crunch > John > Aircrack ]
John > Air... |
I started making a simple user authentication program just for fun, and I realised I don't know how to keep safe the files that will store all the usernames and passwords. This got me thinking.
What is stopping me from viewing sensitive information about the different software installed on my computer. How is this inf... |
Can any CA sign any cert for any domain?
If the answer is yes, what prevents having two different CAs creating a valid cert for the same domain?
Does that mean that the whole TLS security has the same level of security of the least secure CA?
|
I need to store various private keys for my clients.
Given these options, what would be the least prone to brute force attacks:
Encrypt the private keys using a separate RSA key (each user get its own key), with its password set to a SHA-512 hash of the users password.
Store the private keys in a LUKS volume with its ... |
A network I'm working on has only a web proxy (http, https) to communicate outside (mostly used for cache purposes, not whitelist or blacklist support). This requires lot of configuration to all tools to declare proxy, which is quite heavy and restricting in some cases.
I was wondering if a transparent proxy could eas... |
I am new to work on website handling and here are my questions.
1) How can I ensure that the pages accessing is secure enough for data transmission , sql injection and several other attacks.
2) How can I ensure the page which am working on is the original page?
3) Sometimes I am seeing that my browsers restrict me to ... |
Does buying domain privacy make the domain more secure against hijacking? Would it make the domain less secure against losing it, if the registar gets bankrupt? I am afraid that the domain could be seized to pay the debt of the registrar, if buying domain privacy makes the domain to be property of the registar.
|
Since before mid 2014, my root server was targeted by hackers and recently they gained limited access. I disabled all services once I realized the server has been compromised and started investigating. According to the logs, this was approximately one week after the successful intrusion.
I used to host a website for a ... |
If you are with your phone out of the house and you have wlan enabled. Your phone is screaming out to world i'm looking for the wlan with the name "yourhomewlanname". If someone has the router equipment, he can easily say he's the router and just throw away the password and route all traffic through his router. This is... |
Suppose I am a rogue employee and I want to syphon some sensitive data out of the office and I only have office internet access for this. My office internet access needs to go through a proxy server, called PS for simplicity. Local USB/CDrom drive access has also been disabled.
Can I ask if this is possible:
Because ... |
I was reading up on FireEye and came across this NYTimes article detailing a Skype chat where an image was sent laden with malware:
Quote:
To gain access to information on the devices..., hackers posed as women on Skype, identified the types of devices the targets were using and sent photos laden with malware.
The se... |
Is it possible to have multiple Authenticode signatures in an executable? The Digital Signatures tab suggests you can, so I was wondering if, for example, you can sign an executable with Verisign's signature (for Windows), and also a self signed one in the same executable.
I've searched the Internet and can find vague ... |
Background: I have been trying to find a simple app to document my children's milestones in life.
I have been signing up for a couple of free services and trying to evaluate their offerings. I evaluate ease of use, speed, potential cost, etc... but during this process I started to wonder which one of these services ar... |
I have to do penetration testing on an OCSP responder. Are there any frameworks for OCSP pentesting? since it does not include any web applications to test, should I only run network penetration tests on an OCSP responder? Is it possible to pentest an OCSP responder in a black box manner?
|
Occasionally there are reports about eavesdropping via phones which are switched off or in offline (or airplane) mode. People put their phones in the fridge or remove the batteries to prevent such eavesdropping.
Have there been proven situations where something like that happened? What phones were used for this? Did th... |
It is possible detecting threat by only with file information of a file like file's hash(md5,sha1,sha256, etc), file size, mime type, etc with ClamAV or Comodo AV for linux with shell command?
It is markable that here file is absent, only all information of that file is present.
|
I hope this is the right forum to ask this question. If not, please tell me where to go.
From my understanding most cables have an electromagnetic field around them when data passes through them and I think I remember having unexplainable issues with one of my TVs about 12 years ago where, when watching a VHS, I could ... |
Why don't very many HTTPS/SSL websites supply identity information in their certs?
|
I have a case where I need to create recovery accounts and I want to create them so that nobody knows the password to them until/unless necessary. Hence, I thought that I would do it using RSA - when the account is created via code, it will generate a random password for it that is then also encrypted with a public key... |
I have a system with a OTP authentication and I need a method to encrypt the main "secret algorithm". In my system each OTP has a pair named "solution" and it is also changing like the OTP. I need to store the algorithm securely.
I tried to store pre-generated pairs with hashed solution, but it was too slow and has man... |
Hi I looked around on Google and this site for about the last hour and I couldn't find anything that gave a direct answer to my question. I changed the code around in a scanner that I used in the past, I've used other web hosts in the past to create my websites for testing, but this time I wanted to use WordPress for h... |
I trying to use SRP algorithm but I have some questions:
Is that a good choice to use for registration and authorization SRP algorithm with SSL/TLS? And for all other transmission using just SSL/TLS?
I will use C# Sockets for implementation.
How to generate g, k, N? Is it safe to use these like app constants?
Is that... |
We all use Intel architectures these days, in small part because Oracle has totally dropped the ball regarding SPARC CPU development. But with so many now saying that protection against viruses is largely futile, I am wondering if a revival of a different architecture entirely might be a good idea, especially one that ... |
I've heard of using Live CDs such as Tails to protect yourself online. Is there a similar setup to this that would work except run a Mac OS? I've done some searching, but have yet to find anything.
EDIT: I said setup, not product.
|
I was watching the video linked below and every time I refresh the page, a file named f.txt is downloaded that contains the following text.
Video: https://www.youtube.com/watch?v=enbTb8PizTI
Text:
document.write('\x3cscript type\x3d\x22text/javascript\x22 src\x3d\x22https://sb.voicefive.com/c2/6035329/rs.js#c1\x3d3\x26... |
I'm trying to differentiate between the the three.
What is Systems Security?
What is Information Security?
What's the difference between Systems Security and Information Security?
I'm trying to understand the difference between these three security terms. I could not find much that strongly differentiate between the tw... |
I am creating a new website for online shopping in .net and was wondering if i have another option beside Forms authentication to validate the users in a safe and secure way (this has been around for a while, haven't we upgraded yet?).
Keeping in mind tomorrow if i am extending my services on mobile and other devices ... |
I am reading a post about fuzzer in Python, here is the code:
# Import the required modulees the script will leverage
# This lets us use the functions in the modules instead of writing the code from scratch
import sys, socket
from time import sleep
# set first argument given at CLI to 'target' variable
target = sys.ar... |
I have Windows 2008 R2 servers which are failing a PCI vulnerability scan because they have RDP enabled (needs to be disabled).
I have applied the PCI settings of IISCrypto tool, but I have to leave TLS 1.0 enabled in order not to break RDP. The only "solution" I have been able to find is to not use TLS, but that make... |
I am running the Metasploit Framework (v4.10.2) on Kali Linux 1.0.7. Some commands return this weird, misencoded (I think) text instead of what it should be returning. What can I do to fix this?
Example:
|
In other words, while visiting https://www.mybank.com, for example, can I always trust the site as long as I click the padlock in the address bar of my browser and find no problem with the certificate?
|
I am trying to get a handle on some terms and mechanisms and find out how they relate to each other or how they overlap. Authenticating a theoretical web application and mobile application is the focus. The focus is on the exact difference between token based authentication and cookie based authentication and if/how th... |
One of my web application underwent a vulnerability assessment recently, and one of the findings is about cross domain include script. Our web app uses addthis_widget.js from AddThis to bookmark Facebook/Twitter etc. It was recommended that we copy the contents of the script onto our own domain and include it from ther... |
Let's say that I'm on a university (or company) network that requires you to install a root certificate to connect to their website. Now let's say that you trust these people but not anybody else. Is there anything to protect you from something being wrong with the certificate of the website with which you connect? For... |
Windows UAC: It's annoying. It seems pointless. Should I just disable it?
Or in other words - is there actually a real risk of something malicious happening if I do? Is there malware out there that works only if it's disabled?
I appreciate it gives a theoretical security, but is it practical? As long as most people k... |
I have a theoretical question. There is a public key-system. Person1 wants to privately send a message to person2. From my understanding, person1 is supposed to encrypt their message with public key. What happens if person1 would use their private key for encryption instead? Is the message still private or it can be re... |
From my understanding domain validation certificate are verified by receiving an email on some special email addresses on the domain (e.g. postmaster@example.com, admin@example.com) or by sending on the designated email address on the domain name registration record (the information published on WHOIS).
Since many emai... |
Why don’t « hackers » (or more accurately, « virus maker ») just do repackaging over their malware to by-pass antivirus software? Because it resolves the issue of the virus signature (kind of hash), doesn’t it ?
How can anti-virus software detect these kinds of easy modifications?
|
I have the following use case:
I want to write a desktop application that makes use of a third-party API (e.g. Dropbox)
This API requires an access_token to be sent to the server with each request.
This token gets generated on behalf of the user and my application using an OAuth2 authentication flow, which the user p... |
I was renewing my Internet subscription through the online portal of my ISP. What struck me was when I was entering my credit card details, I entered the type of my credit card (MasterCard, Visa, AA, etc), and when I entered the numbers, there was one number that I entered wrong. When I pressed the submit button, the w... |
This came up in an IRC discussion on freenode, and now I"m curious.
The idea is that someone wants to determine whether or not encryption alone, or compression+encryption (with gpg/pgp being the primary encryption system), provides better 'security' of the files.
Since I am not an expert in cryptography or cryptographi... |
I wonder why there is a hash signed by private key in the CSR? It does prove that I have the private key that belongs to the public key in the .csr. But who cares whether I actually do possess the private key? The CA doesn´t need this proof for signing the CSR. It just signs the "Subject" data, some metadata and the p... |
I hope this question is direct enough for the stackexchange format, my apologies if it is not, please feel free to downvote to close.
I'm interested in pursuing a CREST certification, however it looks to be a a chicken and egg problem - without certification it seems unlikely i'll be able to land professional experienc... |
Recently, I overheard by chance some technically savvy guys saying that when you accept the terms of service in order to use the "free" WiFi at Starbucks (which you pay for when you buy some coffee), the popup window actually performs an HTTP operation that sends the computer's WiFi MAC address in the URL in an HTTP GE... |
When I type example.com without any scheme into the browser bar and press Enter it is interpreted as HTTP://example.com, not HTTPS://example.com. Why? And where are the plans to fix this?
(To be clear, I'm talking only about typed/pasted addresses coming from a "lazy" user, not about software-defined actions such as ... |
I've been thinking about using client certificates for my web apps, desperately hoping for security-conscious users to put their private key on HSMs so they don't get stolen even if the machine is compromised, and the added benefit of completely forgetting the login page is also nice (the user would be logged in from t... |
I have some free time so I'm testing various local vulnerable machines. In one particular lab machine, you first have to gain administration panel, and then use the available "insert" command and write a textual file to the directory. The service in the background is checking is file written.
I did find administration ... |
Server and client have a pre-shared key K. Assuming that that pre-shared key is safe, so nobody other than server/client can encrypt/decrypt.
Client sends a nonce N to server, server then sends back message M in encrypted form AES_CBC_Encrypt(M+N, K, IV) to client. So client can verify if there is a replay attack tryin... |
If a website encodes < to < and > becomes >, is it still possible to perform cross site scripting? What would you enclose the script tags in?
For example, on one of my sites I can use <script>alert(1)</script> normally, but how can I do the same thing when encoding takes place?
|
In building a security system, I'm looking to prevent 'man-in-the-middle' attacks in a two-way encryption system, using the following setup:
A sends B a message, encrypted with code 1
B sends it back, having been encrypted with 1 and 2
A reverses 1 and sends it to B, upon which B decodes code 2 and receives the message... |
Now that we are told that infecting firmware has been done in practice, how exactly does this work?
|
When I am logged into the Google and prints document.cookie I could see following cookies. My doubt is what all an attacker can do if attacker could steal these cookies of the victim using exploiting some vulnerabilities like XSS? Is this can be considered as privacy breach? (I think they can get browsing history of th... |
This is yet another "How is a forgot my password page done right" question. However, it explicitly addresses two implementation options that I have come across recently.
The common approaches [1,2] that I know are based on a random token that can only be used once and that has a limited validity:
User visits forgot pa... |
Alice and Bob are trying to set up a secure conversation, but unknown to them in the middle is Eve, who can intercept and modify all packets sent between them.
The communication goes as follows:
Alice sends a hello to Bob, and includes some parameters (say, an ephemeral Diffie-Hellman public key) A. Eve intercepts the... |
I'd like to have my server APIs only accept requests from my own app, to prevent other "rogue" clients of my service.
As i understand it, the way to do this would be with a "client certificate" that the app sends, and that the web server is configured to verify.
However, I'm hosting my app in Heroku, and I believe it's... |
When creating a key pair using gpg it asks me for an expiration date:
$ gpg --gen-key
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Why is ... |
Ring oscillators can be used in hardware true random number generators (TRNG), and also in physically unclonable functions (PUFs).
The designs seem fairly similar:
TRNG based on ring oscillators:
Ring Oscillator PUF:
The idea of a PUF is that it creates the same pre-defined (but seemingly random) response for every c... |
So, I've run an unauthenticated Nessus scan against a critical piece of infrastructure as part of a pen-test but I'm getting back some weird stuff and i can't seem to re-create the issue to demonstrate it to the client.
The machine i'm testing is a HP-UX machine but Nessus is flagging that a specific share 'backup' can... |
I've been looking at the FIDO alliance's U2F specification and there's something which I can't seem to find documented.
If I was to use a Yubikey or something similar as part of the authentication when registering for a service on my desktop, how would I then be able to authenticate myself if I wanted to log in on my p... |
A Certificate Authority (CA) issues digital certificates to certify the ownership of a public key by the named subject of the certificate. What is the rationale for CAs cross-signing each other (i.e. Y signing Z and Z signing Y)?
For example:
Let Y, X, Z be different CAs. Z may have the following signing arrangements:
... |
If I understand the SPF Record Syntax correctly, any machine with an IP that points to my-domain.com can send email as if it's from my-domain.com if I'm using ptr in my SPF record.
Anyone can create a PTR record for his IP(s).
Then isn't it a security risk to use ptr in your SPF record? It essentially enables anyone to... |
I was reading an Ars Technica article this morning and came across the following towards the end (emphasis mine):
Equation Group included six other hashes in different exploits that remain unknown at the moment. They appear to be generated by the SHA1 algorithm. They are:
0044c9bfeaac9a51e77b921e3295dcd91ce3956a
06cf1... |
I am implementing Google's reCaptcha in my app. According to the documentation, my API request must include my secret key and the response, and optionally the user's remote ip.
For what reasons would I include the remote ip?
|
I'm currently evaluating different approaches to implement a web application firewall (WAF) in our architecture. We need the WAF due to PCI DSS.
I would prefer using a cloud based WAF (e.g. CloudFlare or Incapsula). However I have some concerns if it would comply with PCI.
The setup is as follow:
Client ---> WAF ---> O... |
I realize this is a broad question, but maybe there is a simple answer
From my understanding, Streaming media services such as Amazon instant video, Netflix, and others do all decryption client side. What I do not understand is that if this is true, and the videos ever exist in a decrypted state, what prevents users fr... |
To allow third party consultants, offshore developers and contractors working on the code, we can expose our Git repository externally. Or we can grant VPN access to the external parties and limit their access by configuring a new group on firewall so they can only access the Git repository in our internal network.
Wh... |
So let's say we have a production site that requires VPN access to the datacenter. We also have a dev/qa datacenter in a separate datacenter with it's own VPN connection. When we're sitting in the office we have an IPSEC tunnel to the dev/qa datacenter, but we have to connect via VPN into production. So, if we're in th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.