instruction stringlengths 24 27.2k |
|---|
I am studying for an exam and came across a question asking to find what the single loss expectance would be, but I am failing to understand exposure factor in the calculation.
SLE = Asset Value * exposure factor
The question:
Your company owns a machine that is worth $100,000, if it was damaged in a fire it would only... |
When I research about FREAK attack, most of them explain about the server and browser vulnerability, but how about native apps (e.g. Windows executable program, mobile apps)?
From Mark's answer on Can someone explain, in simple terms, how the FREAK attack on browsers works?,
As far as I can tell, the "FREAK" vulnerab... |
If I understand correctly, FREAK refers to a "vulnerability" in which, when a client offers weak cipher suites (usually export-grade cipher suites with 40 or 56 bit encryption) and a server can accept those cipher suites, a man-in-the-middle can perform a downgrade attack to use one of those weak cipher suites, and the... |
Running into a possible situation where a client I am working with is requesting that all data that leaves the servers should be encrypted and here, we are talking of hundreds of Linux servers spanning across data centers and also includes public and private cloud offerings.
I understand IPSec based tunnels could have ... |
As described on this link, OAuth specifies that a login server and a resource server should be decoupled. The idea is that if one of your resource servers gets hacked, no password data is lost. All login credentials that your applications use are on a single server. I get that this reduces the number of servers that ho... |
Does cryptsetup uses TPM? or CPUID to identify the hardware environment in order to prevent it from stealing and crack it on other PC.
|
I am using Tresorit on Mac OS X and iPhone.
When I am using it there is always applied client-side encryption before posting the file to cloud. The key used for encryption is AES-256 and CFB mode of operation is used.
But I can't figure out how is the key generated and where is stored. Also how is the key transferred o... |
I have a good working knowledge of basic security best practices (password hashing, preventing sql injection, CSRF, etc.) but am completely at a loss for finding a solution to common-case encryption and decryption in PHP.
Google is little help, with most results being heavily-criticised for being insecure by design or ... |
Users are making a deal using the website. Website generated PDF file (something like contract or report). Users perform digital signing of this file (analogous to hand-written signature on paper contract). They use government-issued RSA certificates.
Currently this works as follows:
I'm generating PDF file once. Then ... |
I'm a little bit confused here, since the best practice suggests that main key should be completely offline, so which key should I upload to the public directory?
Here's what I have:
main key (sign only)
subkey#1 (sign)
subkey#2 (encryption)
subkey#3 (authentication).
|
So, I stumbled into this question: Why doesn't the TLS protocol work without the SSLv3 ciphersuites? In that question OP tried to disable SSLv3 by disabled it at both protocol and cipher list (by adding !SSLv3). The result is his TLSv1 doesn't working so he just need to disable it in protocol level.
Well, I'm confused... |
I came across below article.
https://code.google.com/p/doctype-mirror/wiki/ArticleContentSniffing
on of the things that brought my attention is
To be on the very safe side, it is best to actually process the image using an image manipulation library. Read the image file, convert it into a bitmap, and then convert it... |
I'm a beginner in penetration testing, and I'm struggling with finding decent material to learn. I used book about nmap, Metasploit, exploit writing etc..., but they contained too much information about too many OS's. I want something specific, something that can get me familiar with Windows exploitation systems, espec... |
I have a router (ASUS RT-AC66U) with an embedded OpenVPN server. I'm able to successfully connect to the OpenVPN on the router, as well as, access internal services in my home network; However, Whenever I look up my IP address I still have the IP address of the location where I am currently connected (i.e. 250.456.12.8... |
If you are in the habit of using strong passwords (randomly generated by password manager) is there any point in using two step authentication?
Assuming that 99% of the time that when you enter a password you do so on your own device, e.g. machine less likely to have key loggers on it (not some public library or cafe m... |
in my security course, we were told to practice an xss attack using firefox on this website;
http://permalink.co/
No worries, this is a website specifically setup for us to practice security. The csrf field you see should be set to 1 (for token validation, token is random) and the xss field should be set t... |
Say we have a session key of between 0000000000-9999999999, providing 33.2bits of entropy. This is far short of the 128bits recommended by most.
Of course, it is normally trivial to change session keys to be of reasonable length, but there are a lot of legacy systems out there using shorter session keys.
At what point,... |
I am quite new to cards and tokens and trying to get a handle on a couple of issues prior to purchasing and using one.
1- physical access to keys on the card or token: Are all of these devices set up to (or easily configured to) require a pin/pw of some kind prior to use? So, for instance, if the card is lost, a pin m... |
In order to improve private security and anonymity while browsing the web on my mobile devices I wanted to tunnel all traffic to my own server via VPN and use a proxy software to filter unwanted (Tracking, Advertisement) requests out.
Currently I'm using a OpenVPN server and a separate privoxy instance.
VPN works fine ... |
I have recently set up a managed VPS and it came per-installed with CentOs and WHM.
I have configured SSH logins to use private keys and i can SSH into the server with root privileges.
I realize that i lack a great deal of knowledge on how to look after a server properly but at the moment i can not afford a professiona... |
From this OWASP page on "Insufficient Session-ID Length", it states:
Assuming that the session identifiers are being generated using a good
source of random numbers, we will estimate the number of bits of
entropy in a session identifier to be half the total number of bits in
the session identifier. For realistic... |
In Windows 2008 R2 and 2012, how do you enforce TLS-only and how do you demonstrate that posture?
I am in IP Compliance and have a strong background in practical system administration and support. I have however been too far away from windows administration and support for long enough that I don't know the answer to th... |
Authenticated user on web app, using other people's id to update or change their information. So basically the web app is not checking for person who is logged in against the person who he/she is updating the information. Is there specific name for this type of attack?
|
I am new to NMAP but I was using it to troubleshoot some issues I have been having. I ran a scan on a device and I know the device runs some sort of Linux or Ubuntu OS and I was attempting to figure out what that OS was exactly.
When I ran the scan the OS details were as follows:
Device type: printer
Running: HP embed... |
I have a work-issued computer that I have limited access to the Internet due to the security protocols in place on the device. I want to use this machine at home, for work. I want to be able to hide my IP address as I move frequently for my spouse's work as he moves around the world. I understand there are proxy server... |
I was wondering what the repercussions were if a Bitcoin exchange or website that holds bitcoins were to succumb to a DoS attack.
In my understanding, all a denial-of-service attack does is deny legitimate users access to the website. However, btc-e.com, a large Bitcoin exchange, and many Tor hidden services (which use... |
Our company is does not store any credit card details but we do transmit them. We are storing it in a cloud platform which is already PCI compliant.
We just require to access the Cloud portal from our company. I understand we need to be PCI compliant as well.
But regarding the backup, we need to backup the log manageme... |
I have a EAP-TLS network at home which I've managed for some time now. I just got a new Brother HL-5470 printer so I can finally print things at home, which is really nice.
The only problem is that printers are notoriously good at being huge security holes.
The printer is connected to my EAP-TLS network, which allows... |
We have a desktop app that downloads patch content via HTTP. The content is digitally signed and verified by client software after download.
Is HTTPS required to achieve PCI compliance if:
No PII is transmitted
Digital signatures are used to sign and verify
If HTTPS is required, is there a specific rule # or section ... |
I am aware that client side validations can be easily bypassed by means like disabling javascript. I would like to know the things to be checked while doing a server side validation for file upload. I expect an image file.
Basically I wanted to prevent DoS attacks of the type resource consumption. i.e., an attacker ca... |
My website has been hacked again. There are many foreign URLs such as here.
I've checked the database and there is nothing strange in my database. Does anyone know what kind of hack attack is like this?
Then I have to execute all files with exit (); and I quit "on /libraries/import.legacy.php".
If I give exit () under
... |
Our company does not store any credit card details. We are storing it in a cloud platform which is already PCI compliant.
We just require to access the cloud portal from our company. I understand we need to be PCI compliant as well.
Are we required to have a DRP (Disaster Recovery Plan) in place for our AD servers/WSUS... |
How should I go about handling my RSA Private Key for my high-security Rails web application?
This may seem like a "soft" question, not related to cryptography per-se, but is nevertheless very important. What management procedures and general development security tenets should I be following? What are the definitive re... |
Is there an open source implementation of Internet Key Exchange protocol for windows?
I found only openiked for linux platforms. (http://www.openiked.org/)
|
This might sound a silly question, but I was thinking this as and extra option(which is not required) mainly for advanced users, who want to protect their accounts even more. Lets consider that other security measures exist(e.g. protection against online brute force attacks, requiring strong passwords when registering/... |
I assume all hacking software (password cracker, R.A.T. etc...) are infected. So the hackers using it are probably hacked too, right ?
|
I'm looking for a secure software development checklist.
I know that there exists several secure development methodologies (for example Which Secure Development Lifecycle model to choose?), which cover all the steps in software development, but when it reaches the point of "write secure code", they don't specify which ... |
I need to implement a password reset feature for a system that will be controlled by a security question and answer pair. The problem is that I can't guarantee I'll have a valid e-mail address or cell number for the account that I can use to communicate a reset link or code. This means the entire process will happen on... |
Following up on this question as the answers are now 5 years old:
Can I detect web app attacks by viewing my Apache log file?
My boss has tasked me with analyzing our access.log and error.log files after an attempted mySQL injection attack last week. It's pretty obvious when viewing the logs by hand, but we'd like s... |
Pretend I take the same CSR and send it to two different CAs as described in the following scenario:
I create a CSR on Windows
I submit the CSR and edit my SAN names. Request is pending at the CA
wait 2 hours. still pending
Submit CSR previously sent in step #1 to CA #2
Change the SAN names again, but make it a litt... |
My understanding is that a CSR contains the public key from the client, and the response is a signed version of that CSR, with certain attributes (EKU, expiration) and other attributes the CA decides to arbitrarily add.
When a key is revoked in a CSR, is the hash of the public key mentioned in the CSR or just the PKI-s... |
Internet Explorer has the security setting shown in below screen shot.
My understanding is that "unsecured images" are images that are not transmitted over HTTPS.
What I am curious about is why does this setting specify the blocking of images, as opposed to other possible non-HTTPS content?
Is there some benefit that ... |
Is there a standard practice to securing an admin page for an application written in angular and nodejs or just in general? The admin page would approve/ban users and moderate comments.
Should it be web facing, able to be accessed just through a username/password? Or something fancy like ssh-only w/ X11 forwarding?
Ri... |
For learning purposes I am trying to build a web application (Symfony2, PHP) that allows users to post content and have their own password vault, everything encrypted. Since I want to users to be able to share passwords and encrypted content I chose asymmetric encryption for generating a key pair for each user.
I will ... |
I have a simple product ordering form.
A hacker is attempting to validate stolen credit card numbers by making two orders per minute with a bot.
99% of the orders are declined but some are completed. Which tells the hacker that credit card is a valid and active card.
Using a CAPTCHA or similar to prevent these attacks ... |
I need to generate RSA key pair and show the public and private key on screen (in a secured room). The algorithm must be FIPS approved.
So I would like to use iKey 4000 which is FIPS 140-2 level 3 compliant (I am using PKCS#11 library from Safenet to work with the token). If I generate RSA key pair on token (I mean usi... |
Does the CA feature of Public Audit Records increase the visibility of my hosts, and therefore the risk of host-specific attacks?
Would the only mitigation be to only enable this for wildcard certificates?
|
I would like to know how I can be sure that I am using openSSL the right way.
You all know how the openSSL documentation is hard to read.
I know that everybody has different goals when using this library, but is there a way to test that for instance a bad certificate won't be accepted, that only some cipher suites can ... |
Suppose I have a live bootable USB drive with Linux installed on it. It is encrypted. I am booting off it on another computer with default OS Windows.
How much separation is there between the host machine and the USB drive while I'm using the Linux OS on the USB drive? Can something be installed on the host machine at ... |
Let's say I want to store some data in the node's session, for example, like an authenticity token. Obviously I want to store it in an encrypted way if it's going in a cookie, then decrypt it on a server to compare.
What's an acceptable way of accomplishing this? I was thinking of simply generating a random password on... |
One thing that I found out when starting using PGP:
When I uploaded my keys to the SKS keyserver, the keyserver did not take any action to verify that I am who I claim to be.
Since a PGP key contains a email adress, at least, the keyserver could have sent an email with an link inside that must be clicked for the key to... |
My friends have expressed an interest in hacking, but we don't want to do anything illegal, and considered CTF365, but it was WAY to expensive. Is it possible/legal for one of us to create a private website for us to hack, or play attack/defend with two websites of our own?
|
Alice, an anonymous informant, would like to transmit digital documents to Bob while maintaining her anonymity.
For whatever reason, she chooses to copy the documents to some kind of physical removable storage, for example: USB flash drives, external hard drives or DVD-ROM / BD-ROM, and deliver the media to Bob via sne... |
Both the sender and the receiver deleted the text after it was sent, but is it still possible that it exists somewhere and that someone can get to it?
|
I read that there is a potential security issue with forms like this (action $_SERVER['PHP_SELF'])
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="text" name="search">
<input type="submit" value="Suchen">
</form>
Could someone explain how this could be manipulated? Could this som... |
I am trying to put modsecurity in apache 2.4.7 a reverse proxy for a tomcat applcation. For a normal request it's throwing lots of logs about allowed methods even though the method used is get.
[Wed Mar 11 10:35:33.187404 2015] [:error] [pid 26124:tid 140113409455872] [client 41.66.208.198] ModSecurity: Warning. Match ... |
I looked about but couldn't find a similar enough question.
I have some remote servers positioned on clients networks, which provide various services (raspberry pi) - and their firewall config is as follows:
Only specific IP addresses INPUT and OUTPUT to specific ports. Everything else is dropped. Key only SSH connect... |
Although I understand the basic theory behind certificates and asymmetric cryptography, I'm not quite sure on the details of the X.509 protocol. I'm wondering what attacker model a given CA requires to attack the TLS/SSL traffic. Specifically, if I assume my CA to leak the private key it issued me to a third party Mall... |
I am currently learning about Wireless testing and have stumbled across a couple of little issues.
The system setup I am working on is as outlined below:
Kali Linux - 64-Bit (GNOME v3.4.2) Virtual Machine running on;
Linux Mint 17 64-Bit Base Operating System Version 2.2.16
Intel i7 Processor
Wireless Adapter is... |
In the original post on the subject they said that in Chrome 41:
Sites with end-entity certificates that expire on or after 1 January 2017, and which include a SHA-1-based signature as part of the certificate chain, will be treated as “affirmatively insecure”. Subresources from such domain will be treated as “active m... |
While visiting some https websites (like online banks, etc) url string appear to have little extra green box on the left hand side, with some organisation details.
While other https websites just show a padlock
see example pic.
Why is that, and whats the difference.
|
Are there any statistics on whether requiring the secure attention key to be pressed on login actually increases security ?
I personally don't see the point of that :
if you're after credentials, you're better off phishing email or other app's credentials that allow access from the Internet. Phishing OS credentials wo... |
I'm in a situation where I know that I have to decrypt a file encrypted using AES 256 CBC and I've the following details:
I know the first 16 bytes block in plain text
I know the IV (static 128 bit IV is being used)
I know the encrypted text
I don't need to know the exact passphrase, it's enough to recover the 256 bit... |
In light of the recent FREAK vulnerability I am trying to get a hold on what ciphers are being used by inbound connections. I have FTP tracing on which is giving me which ciphers are being negotiated between external clients and the system I am using. However, I would like to know what actually negotiates the SSL ciphe... |
for example, in any website (WORDPRESS or etc..) they store passwords in database, using SALT mehtod (as i know)...
for example:
$P$dfwegfwegewgIT03.wewefefweg
if hacker got this password and username, can he detect a real password?
shortly, if hacker knows any value in database and my FTP (but the real password is no... |
As I learned in a comment for How to encrypt in PHP, properly?, I was told using a string comparison like the following in PHP is susceptible to timing attacks. So it should not be used to compare two MACs or hashes (also password hashes) for equality.
if ($hash1 === $hash2) {
//mac verification is OK
echo "hashs... |
Does Dropbox offer any protection against sharing files which are infected?
To give more info, my friends and I are currently working on a college project. We find it much more convenient using Dropbox to discuss and keep in touch. Is it possible to get infected if one of my colleagues accidentally shared an infected W... |
Alice wants to share a message with Bob, but Alice and Bob can never be in the same place at the same time. We can assume they both know each others public keys (or agreed on a shared key, if that makes a difference).
Is it safe for Alice to broadcast the ciphertext over the TV/radio/public internet/etc, or should she ... |
I have an internal website running on SSL, but when going through it in Chrome, I don't get a padlock icon at all:
However, clicking it does show that the site is encrypted. There are a bunch of obvious issues - our internal CA doesn't have public audit reports and it's using old TLS, but the weird thing is that I hav... |
I understand PPTP is widely used still, but insecure. A convenient alternative is: L2TP+IPSEC.
How secure is it?
What steps in the server setup can I take to maintain a high degree of compatibility with Windows 7+ and OSX clients and still maintain strong security? For example, defining what encryption algorithms are a... |
I am running a Seafile Open Source Cloud server (v 4.0.6) on my Raspberry Pi 2. Currently it is set up to simply run without HTTPS or even a domain name on [myIP]:8000. I am also running an Apache web server on the RPI2 with HTTPS. I wanted to know what are the security risks of running and allowing users to access and... |
After logging on to a public wifi, I was redirected to this page appearing to be from facebook, and being done via https:
which looks markedly different from my normal facebook page
I understand that if I don't trust a web site, I shouldn't use it.
But what's going on here?
The page is legitimate, even though it loo... |
Androids apps use fine-grained permissions for security reasons, iOS apps (afaik) do it as well. Windows 8.1 applications don't have a permission schema like that, all Linux versions which I have tried so far don't have it either and I guess Mac OS X also doesn't have it, right?
Why are these fine-grained permissions c... |
We have our domain email setup with SPF and DKIM - both which seem to be operating normally. When sending emails from webmail, DKIM (and SPF) are working correctly. We have some users using Outlook as an email client. When sending emails via Outlook it seems there is no DKIM or SPF "signature" in the emails. We've conf... |
We recently decided to pay an ISP (a substantial sum, mind) for a managed internet service up to and including the router in our head office.
Part of the initial discussions made it clear that whatever solution the ISP thought was best it had to include a VPN as various members of staff are on the road a lot, coffee sh... |
Do clients use WPS every time when they connect to a WPS-enabled AP?
Or maybe they do it just the first time and then they switch to a normal WPA/WPA2 key exchange?
If the latter, it's possible for an AP to force a client to use WPS every time?
|
This email analytics company offers an 'engagement metric' that shows how much time someone spends looking at an email, whether the email is printed or deleted.
They also claim it works in pretty much all email clients, be it web, desktop or mobile.
Looking at an example for the tracking code (first link), I can see ho... |
What significance does the dash "-" holds along with the line -----BEGIN CERTIFICATE----- or -----END CERTIFICATE-----.
I checked multiple docs and linked RFC's as well but could not find the significance, one thing I got it "The number of dashs ("-----") is meaningful, and must be correct."
|
Outside of key distribution, and specific to the technical details relating to encrypted email data (message body), what's the difference between SMIME and PGP?
Example comparisons
Security comparison: What are the security guarantees of each format? Is comparing the signing/encrypting keys enough, or are there imple... |
Not quite sure which Google terms to use to find the answer, so I thought I'd ask it here, presented as a scenario:
Say you have a corporate entity (Example Co) with a wildcard SSL cert issued for *.example.com. They contract with a SaaS provider and requests the SaaS provider use a custom domain: saas.example.com.
Th... |
I'm looking for any way to digitally verify a user, ideally with a photo and link PII to that user.
My use case is that a user will extract and send an encrypted data blob (say from a passport) to my server, and my server will verify it's authenticity, and approve access.
From what I can tell, the NFC/passport approach... |
Here is the gist of the code:
main(){
char s1[64], s2[64];
int a = 0, b = 0;
FILE *fp1, fp2*;
char temp;
scanf("%s", s1);
scanf("%s", s2);
...
//some checks happen, fp1 is opened to s1, fp2 is opened to s2,
temp = fgetc(fp1);
while(temp != EOF) {
fputc(temp, fp2);
temp = fgetc(fp1);
}
..... |
I like the user interaction of visualCaptcha, but I'm questioning the amount of protection it gives:
Since there are only 5 images (by default), isn't is simply a matter of 1 in 5 to get the right image?
Also, the whole process is initiated by sending a start/X request, where X is the number of options to generate. As... |
I came across this schematic of FEA implementation using RSA and AES:
Suppose that PKB is Bob's public key, PKA is Alice's public key, SKB is Bob's private key, SKA is Alice's private key, Ks is the session key used by AES, IV is the iniitialization vector, and F is the plaintext.
Suppose Alice was to send Bob a messag... |
I asked my client (a bank) why they don't certify themselves against ISO 27000 standards. The answer was that if they certified, it would increase the risk of being attacked.
Does that make any sense? Can hackers be aware that some particular company is certified? To my mind, if the company does not state it publicly,... |
one of our web page is a contact form eg name, email, and a textbox for sending comments. It seems like if we leave all of those text fields blank and click the submit button, it still went through without giving any errors. Would you consider that a vulnerability, as I think an attack could be automated to submit the ... |
I am stuck with this question, you can see it in the picture I have included below.
PARTS (a and b) I know a-z will be 26^8, A-Z will be 26^8 guesses, and 0-9 will be 10^8 guesses. But I can't relate guesses to time, I need help.
PART c) Password = 8 characters = 32 bits. SHA256 = 512 bits. total = 544 =68 bytes per (... |
i Encrypted my files with EFS in windows 8.1
so
i logged in ubuntu and without any warning , its shown my files
actually not Exactly the file
but shown the path of file and the name
and i can enter to the folder that Encrypted with EFS , In other words the green folder , I can get into the green folder.
but i do not h... |
I am trying to execute the shellcode to spawn an "sh" shell.
I have taken shellcode as command line arguement,copied it to stack and tried to overwrite the return address of main function with the starting address of shellcode placed in stack.
Everything goes fine but when the program executes "ret" statement,mysteriou... |
Android and iOS (afaik) implement a relativly fine-grained permission schema for their apps.
But as I user I only have the change to acceppt all or nothing.
When I think about it, it shouldn't be a big problem for the OS to implement a feature to deny certain permission for an app withouth breaking them.
Some examples:... |
I wonder is it a good idea using captcha when using an anti-CSRF token on login page? I think it's impossible for robots to mess with login page because the token changes on every request.
|
So I had Linux Mint running on my laptop, just installed it a month ago.
It has a small hard drive, just 160gb, and I noticed shortly after installing the system, it ballooned to 80-some gigabytes full, even though I only installed a few common programs and had a few files, maybe 1-2gb worth. I looked through my home f... |
Email clients and other software use ssl. But what if someone is doing a mitm with sslstrip? how can i tell?
|
I currently use OSx Maverick, I wish to use this machine as my pen testing machine as I also prefer coding on this machine. My current pentest machine is running Kali.
Can anyone give me good tips on setting up my Mac to be my pentesting machine? and what tools you would recommend?
|
Is it possible to rebuild/make firmware for a router with a backdoor for attackers? I mean If attackers get access to a home router and they're make a new firmware with backdoor in case If I will change admin panel password?
|
Not (necessarily) a duplicate of: Should both user ID and Password be masked for online banking?
Definitely not a duplicate of: Should usernames be kept secret?
I can sense your finger on the "mark as duplicate" button so first of all, let me clarify that for masked I do not mean secret. I mean masked only while insert... |
In WLAN, due to MAC association on Access Point (AP), I can't send the DHCPDISCOVER messages using random MAC addresses. But if I keep my original MAC address as the source ethernet MAC a and random MAC address in the CHADDR field of DHCP packet and send the DHCPDISCOVER message, it is passed by the AP and transmitted ... |
I have recently had to submit a number of confidential PDF documents to a website. These documents contain more than enough information to use in identity theft, and I can conceive how others using the same site would upload even more information.
When viewing these documents back through the website, I noticed that th... |
So, I decided to get an EV SSL certificate and I'm struggling to fill in some field on the agreement.
Never done this before, anyone could help me figure this out for me?
Thanks in advance!
|
I found xss on a textarea field.
When you enter a character to this field it output the character in real time so when I input the following code:
<input onclick=alert(document.cookie)>
there is no input validation or any filtering so I can click the input field and bam xss.
My question is if there is a real vulnerabi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.