instruction stringlengths 24 27.2k |
|---|
I am currently in the process of setting up an air-gapped computer which will be dedicated to managing cryptographic key (including: generation of GPG key/subkey, management of a small CA, generation of SSH key).
I am wondering if there are OS already existing that are dedicated to this purpose. I see multiple things t... |
I mean one can find their host server (from which the domain name is bought), but can we check who bought the domain and from where is that website is being hosted?
|
Scenario: I design a REST API where authenticated users can hit the API over TLS. I have to use TLS as the data transmitted over the wire is sensitive. I don't need authorization right now, but I don't want to exlude the possibility. I want to use some kind of API Key(/Secret) method. I would prefer to avoid using OAut... |
Requirement 8.1.1 of PCI DSS states:
Assign all users a unique ID before allowing them to access system components or cardholder data.
Using Amazon IAM I can set up individual accounts for users so they do not need to log into the Amazon AWS console as the root account.
However, I don't believe IAM can be used to man... |
We run clamav on all our user-uploaded files. It's currently giving this message for several PDFs:
<filename...>: Pdf.Exploit.CVE_2014_8449 FOUND
Looking at the CVE, it's for a integer overflow in Acrobat. So what does it mean that a PDF matches a signature definition for it? Has ClamAV detect actual code that would ru... |
I want to randomly choose a game in the 50 games I have, in order to play with one of my friend. But this friend doesn't trust me, and neither do I: every time one of us pick up a game, the other complains that the choice was not really random.
A first solution could be to put all the names in a hat and after pick up o... |
Can you please tell me whether the following PHP contact form is secure? (It gets used with AJAX.)
<?php
$email_to = "myaddress@email.com";
$email_subject = "My subject";
$name = $_POST["name"];
$email = $_POST["email"];
$message = $_POST["message"];
$error_message = "";
$email_message = "Form details below.\n\n";
... |
I was reading this article about a certain in flight WiFi provider issuing fake SSL certificates for Google. This doesn't really surprise me all that much since I'm well aware of the concept of proxies re-terminating SSL connections. In the end of the article the author says that you could use Tor or a VPN to bypass t... |
A website I do some volunteer work for was recently one of those affected by a wordpress plugin vulnerability.
Following advice in the answer to this question, which contains details of the attack, I am hoping someone can advise me on how to go about securing my website, since it is unknown to me if the script I poste... |
I know that most browsers nowadays support around 6 concurrent TCP sessions per hostname, to perform multiple requests at the same time.
For sites which utilise SSL, is there a separate handshake performed for each TCP session, or is a single SSL handshake performed, with the resulting symmetric key being reused for ea... |
As Gartner defined, Secure Web Gateways utilize URL filtering, advanced threat defense, legacy malware protection and application control technologies to defend users from Internet-borne threats, and to help enterprises enforce Internet policy compliance. SWGs are delivered as on-premises appliances (hardware and virtu... |
I am trying to understand the Clark-Wilson and Brewer Nash Security Models.
After deep research, I couldn't find any solution or idea to find
out the relevance of these models in the current environment.
Can someone explain it? It could be helpful if the explanation came with examples or scenarios.
|
My goal is to communicate with a sim card via binary sms and upload new firmware and/or talk to sim card api to retrieve data such as gps coordinates etc... I am not sure how to construct these binary messages. Does anyone know where I could find a program or some papers or research documents about this sort of stuff? ... |
Salted hashes don't seem to offer any real protection for user passwords by itself. So long as a hacker has a quick way to check if a password is right or wrong, it's trivial to brute force it to view the plain-text passwords. Especially if the attacker is using GPUs or an FPGA/ASIC solution.
From what I've gathered, I... |
https://en.wikipedia.org/wiki/Let's_Encrypt
https://en.wikipedia.org/wiki/Information_security#Authenticity
AFAIK with "Let's Encrypt", we could create HTTPS websites with only one command.
Question: But what provides authenticity, if anybody could create a valid HTTPS cert to any domain? How does Let's Encrypt ensure... |
While scanning an application through Burp, I've found that if I use multiple threads, it results to session errors like The requested session id appears to be invalid. You may have more than one Task Manager window/tab open.
But if I use single thread, the scanning is slow.
Can anyone explain me how to assign differen... |
Say that there was a publicly accessible web page with the following PHP code:
<?php
class NotInteresting
{
public function noExploits() {
echo "Whatever.";
}
}
$unsafe = unserialize($_GET['data']);
$unsafe->noExploits();
?>
The code would expect the data URL parameter to contain a serialized instance ... |
I have been working with the veil framework to test an internal IDS system I have in place. I have used a public malware sample which produces an 8/53 hit score on Virustotal and run it through the Hyperion and Pescrambler veil payloads.
However, the output samples either retain the initial hit score or increase (in th... |
My login page accepts the "return" parameter, which should contain URI to redirect user if he wasn't logged in and tried to access page which isn't accessible by unauthenticated users. It could be anything from my site.
How do I properly check that parameter in my server code, before I return HTTP 302 status with that... |
I have 2 computers running chrome:
a) Win 8 , latest chrome
b) Win 7 , latest chrome ~ 1.5 yr old high spec laptop
Both display the Certificate Authority as: Google Internet Authority G2
computer a) uses 256-bit, CHACHA20_POLY1305 with ECDHE_ECDSA for key exchange
computer b) uses 128-bit, AES_128_GCM with ECDHE_EC... |
I work in a school and we have several Epson Beamers but some of our students have download an application for their mobile (with infra-red and WiFi connection) and they now have remote control and the ability to shut the projectors down.
How to protect an Epson Beamer against people with such application? With an pas... |
I've just picked up a YubiKey.
However, the demo Yubico redirect you to is served over plain HTTP, over which each OTP you generate during the demo is POSTed, enabling you to verify that your key is working properly. The first group of characters of each OTP is a static public identifier of the key.
As services such as... |
Are there really some ways to get the Geo-Location of a mobile phone? I've seen in many TV crime shows (like "Sawdhan India" and "Crime Patrol") where the Police Force catches a criminal through obtaining their location through their mobile phone. A criminal calls a person, the person gives the number to the police (or... |
I just read this example and explanation (below) in the OReilly book Security Power Tools (2007) in section 6.3 that is written by the creator of Scapy, Philippe Biondi. I think the example is very interesting, but I don't understand what it is saying. Can someone clarify this goldmine of info he is referring to?
H... |
There are few shared folders in my company that are accessed by applications from different branches across the country for different transactions. Hence they are kept "open". During a recent PT exercise, this was reported as a finding. Though no write access is given, I understand that this is a security risk. The app... |
If I want to have some privacy and avoid the attention of publishing my email address to the public key server web of trust, yet have a secure two-way email conversation with one recipient, what are the ways in which we can share public keys, in order to have the secure conversation?
I am concerned about:
My email bei... |
Currently we are creating one small service, where we are using some sensitive data from users(not worth zillions but to me it is like password). The idea is that application itself only inserts this data into db and creates some jobs to run in queue.
The problem is how to secure this sensitive data?
Currently the only... |
We are updating our C, C++ and C# coding standards to include security requirements. I know there are coding standards based on the following:
PCI-DSS
CWE Top 25
OWASP Top 10
NIST SAMATE
What is the difference bet these and the CERT C secure coding standard?
Thanks
|
I noticed that every payload (for example bind_tcp) in metasploit comes with defaut encoder.( shikata_ga_nai for bind_tcp).
Is there a way in metasploit to manualy choose encoding for payloads or way to cancel encoding at all?
Many thanks!
|
Is there a problem with using a single SSL certificate for both SSL/TLS/HTTPS communication as well as to sign (external) digital timestamp certificates? Other than the obvious: if one key is compromised then both functions can be compromised as well. However, if I devise a secure method of handling keys, and also use ... |
I've had difficuties finding all the informations I'm looking for on how to reduce one's fingerprints on the Internet, during "everyday" network surfing.
I'm found this post which is interesting : Whats the best way to make my internet traffic anonymous? with the anwser made by Shnatsel [1] But it doesn't quite answer ... |
I am asking these question because I am not very familiar with JavaScript or the Firefox plugin/extension system. The specific context is the Mailvelope pgp extension but the questions are general and would apply to all extensions.
Can another extension access memory in use or previously used by another extension?
C... |
I am writing a Java application who needs three username/password pairs. I would like to add a "remember me" feature, implying I would have to store passwords on the user's computer.
Knowing this application will be used everyday by some co-workers on their own machines, I considered storing the passwords on a local en... |
I am making an web application who POST an username and password to an server who checks it. This communication is secure (SSL/TLS).
What I was wondering if the secure SSL communication is set up before or after the first contact with the server?
What I mean is that the POST data is the first data what will reach for ... |
I understand nmap by default scans the top 1k 'most common' ports (-F reduces to 100)
I understand it gets these 'most common' ports based on the nmap-services file, specifically the frequency (3rd column)
Say you're curious or doing port-hardening, you'd be curious what those most common ports are. Short of opening ... |
My Android phone (Kitkat) list a LOT of CA under setting->security->Trusted credential. Does it mean that anyone who has access to any one of those private keys of those CA(s) can monitor or do "Man in the Middle" attack on my phone when it communicates with the internet?
I assume one can monitor not just the browser ... |
I am currently renewing an SSL certificate, and I was considering switching to elliptic curves. Per Bernstein and Lange, I know that some curves should not be used but I'm having difficulties selecting the correct ones in OpenSSL:
$ openssl ecparam -list_curves
secp112r1 : SECG/WTLS curve over a 112 bit prime field
... |
Is there a benefit to storing salt appended to hashed password in a single column of a table verses storing salt and hashed password in different columns of the table. The OWASP guide here https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet says 'Store the protected form appended to the salt as follows'
[prot... |
Suppose your Aunt or Uncle is easily fooled by phishing attempts and their computer has multiple root kits and key loggers running. Assume their computing habits will never change.
Looking at his wireless router you can see that he only visits a few dozen or a few hundred websites multiple times in a month. Instead... |
I downloaded a pdf earlier, and I was trying to send it to my friend, but gmail said that it detected a virus. So I ran it through virustotal.com and only 1 out of 56 scanners came up with a virus - ClamAV returned with "PDF.Exploit.CVE_2014_8449". None of the other 55 scanners came up with anything. I looked up CVE_20... |
I need to prevent Mallory from blindly matching encryption and signing keys to messages
Hypothetical scenario:
A user creates a public key
An encrypted or signed payload exists.
With only public key, and a signed or encrypted payload, Mallory wants to find out who signed the data. We want to prevent Mallory from ass... |
Is Freenet secure?
Of course, I must elaborate on what I mean by "secure".
Suppose there is a banned book stored on Freenet. May I download it to local storage without the following groups knowing that I now have a copy?
a. My roommate. He can see all packets I transmit or receive on my network interface. (He can't ... |
The normal method of providing an encrypted channel appears to be negotiating a session key (using Diffie Hellman or similar), then using this key for a long lived session. Even IPSec that is message based negotiates a key first that is later used for many individual messages.
What are the reasons against instead havin... |
Specifically for the CISSP, trying to figure out what type of access control these would be considered.
|
Does Windows Embedded OS supports Microsoft Bitlocker? If yes what are the list of versions and does the windows embedded OS comes with bitlocker?
|
I'm doing some research on checklist, benchmark, hardening guidelines. And I couldn't find specific documents for security checklist for firewall.
CIS had this document, but it was only for Cisco firewall, and also one for Checkpoint firewall.
And I found another one from NIST, named "Guidelines on Firewalls, policy",... |
What is the best way to upgrade an OpenPGP key that was created 11 years ago? It's 1024-bit and is published on the key server.
I can create a new key, but what's the proper way to update the existing public key on the server?
|
Given an algorithm (say, AES), how to create/generate test vectors?
I have tried using the NIST test vectors for AES and found it to be working fine with a package of "chilkat". Suppose, for a certain algorithm, NIST has not provided test vectors, how do I generate test vectors to test the algorithm?
|
Reference forum questions and a couple answers posted on 10 December 2014
What are these unknown visits to my private, unlisted webpage?
One of the answers contained this phrase: "Given the fact that they are hitting your page with another host name..."
Here is my delimna. I have 2 websites, one that is about 1.5 year... |
I’m working for a large organization which is using some Windows products that require python to work.
Python is used to execute built in utility scripts and the user never recognizes that python is involved, Since the security requirements of the system are quite strict we are trying to lock down python as much as po... |
So I'm running a long-standing role-playing game wherein the players' characters in the game are unknowingly working for another character who wants access to the data of the United States Intelligence Community regarding a particular topic and plans to have them excavate the ruins of certain key data storage facilitie... |
We are using a third party payment service for our web users to be able to pay for courses. Once payment is completed however, payu attempts to connect to our site and run an IPN. However, they get the following error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path buildi... |
How do you make sure that in your environment, you have proper controls of your source code. For example, before deployment of any application, there must be approval from the boss and other parties. Do you have some products or solutions you can recommend to make this automatic? I also understand that sometimes, audit... |
Ideally a security patch released by a vendor such as Microsoft for the Windows OS is required to be patched immediately. What would be the recommended patching period that Microsoft or best practices would require by which the systems should be updated?
Microsoft as I understand releases patches every second Tuesday o... |
The reason I ask whether HTTPS protects the metadata of your Internet activity from a wiretapping entity on the backbone like the NSA or not, is the following scenario:
Say I am browsing the encrypted https://xsite.com/page.html and it calls to an unencrypted javascript library at http://ysite.com/library.js or externa... |
This question has a follow-up question here: How to securely encrypt data with a public-private key encryption scheme, but also allow decryption if the private key is lost?
TL;DR:
Can I use plaintext passwords for a device which doesn't hold any sensitive data?
No, because password reuse.
Okay, can I use prehashed pa... |
Recently IBM and Microsoft showed their interest (IBM post, Microsoft post) in utilizing bitcoin's blockchain for internet of things (IoT) development. Let's assume that in close future the blockchain technique to be implemented in smart cars overlaying road conditions or traffic data to each other. Bitcoin's Blockchai... |
So recently I have been working on some projects one of them is keylogger and the second is SYNflood (both in python). I want to know if ,is it a good practice to use python language for such purposes? (Maybe you know from your own experience)
|
Due to stories like the following: https://hackerone.com/news/pink-panther (forced at airport customs to decrypt laptop) being more and more frequent, I thought of the following. What if you simply travel with a laptop where you encrypted the unencrypted parts in a LUKS FDE setup via a script and a live cd. Your entire... |
I know that PKCS12 private key is protected by a password, but what is actually done with the password ? Does it use PBKDF to derive the key from password ? That would be a problem as if you change the password, the private key would no longer be the same.
Is it like truecrypt volume, the password derives a key which i... |
I understand PCI DSS 3.0 allows hashes of cardnumbers to be stored separately from encrypted values, but I'm startled at the efficiency of tools like hashcat in discovering card numbers from hashed data given the limited entropy.
Since, for lookup purposes, a random salt is not an option (since often you only have the ... |
We've established that, for all intents and purposes, HTTPS hides what page you visit on a given server from NSA backbone wiretapping, but not the domain itself. But that's only IP / domain correlation (across multiple domains), and nothing more.
As far as I understand, that's not fingerprinting.
I use the Tor Browser,... |
Background:
I want to try unprivileged lxc containers a try on my small web server (hosting 2-4 users). Since the server is shared among friends, we decided to separate our services from the machine using lightweight containers. We envision that each user will run a host of unprivileged containers for each service of h... |
I own my domain and blog infrequently, when I try to access it over https I'm first shown a warning which says that the certificate isn't trusted. This is expected as I never configured SSL for my blog, when I proceed it takes me to a random site. I've attached the screenshots as people may be hesitant to click the lin... |
Is there a way for me to set up DHCP so that only domain devices get an IP Address from a certain subnet, say 192.168.12.x, and other non-domain devices would be assigned to a different subnet?
Edit: I'm currently running Windows Server 2008.
|
I'm writing a password manager for Windows which I want to protect against keyloggers. There is a timeout of 5000 ms for keyboard hooks.
The hook procedure should process a message in less time than the data entry specified in the LowLevelHooksTimeout value in the following registry key:
HKEY_CURRENT_USER\Control Pane... |
I have four pcs connected to a switch connected to a router that gets connected directly to the internet.
How safe is a NAS attached to the same router along with the switch plug?
I'd like to have the NAS available internally but safe from any intrusion (it contains sensitive data).
Edit: it was asked to add more detai... |
Scenario: You are on Craigslist searching for cheap electronics and come across an add for cheap E-reader. It's a bit of a deal with about 20-40% off the retail price so you contact the seller and all seems normal. You meet up to buy it and while you are discussing the E-reader you want to catch the seller off guard (i... |
Reading the API definition of SetWindowsHookEx, I see
Calling the CallNextHookEx function to chain to the next hook procedure is optional, but it is highly recommended; otherwise, other applications that have installed hooks will not receive hook notifications and may behave incorrectly as a result. You should call Ca... |
I have just finished reading "Why information security is hard - An economic perspective", the term asymmetric information is mentioned. An example in this paper mentions
"The technical bias in favour of attack is made even worse by
asymmetric information. Suppose that you head up a U.S. agency with an
economic i... |
I have not found a straight forward way to determine where a given cipher list supports PFS or not. For instance, how can I use output of:
$ openssl ciphers -v aECDSA:aECDH:kEDH:kRSA
to determine if any of the configurations supports (non) PFS based communication?
|
There is a requirement for users to remotely access one of my corporate servers from internet. Policy wise, i would want them to at least use 2FA for communication,eg VPN Tokens, password+SMS etc. However, i also recognized that some users may not have the budget to implement at least 2FA. Hence, would like to gather f... |
What additional security can a "password minimum age" provide?
For example: the user can change their password only after 24 hours have elapsed since the last password change.
|
I'm suspicious. I wanted to forward a port (80) on my router and noticed that port forwarding didn't work properly, it didn't work at all.
So I replaced the router and again, port forwarding was not working.
There are no firewalls running and everything is configured as it needs to be, the only thing not working is the... |
It was suggested by some consultants that We relocate some of our critical systems in our environment to cloud base architecture. Besides knowing the fact that on a cloud base architecture we have no control over their infrastructure, what other areas of concerns must I look out for when putting critical systems to the... |
I've tried to sign in to Samsung Cyber Service Center1. Since I'm from Poland, at first I tried Polish version of that service. I have entered a password, that has:
6 numbers in total (in three groups of two numbers each),
6 lowercase characters,
3 uppercase characters,
1 special characer,
in following order: NNccccc... |
I would like to know the risks of a python script that is outside of public_html
application/scripts/myscript.py
public_html
This script is called by the php application asynchronously. it receives an argument that determines which file folder will be deleted after x minutes and after update the mysql database
The fol... |
In ISO27002 section 14.2.7 it sets out the requirements for outsourced software development.
By Outsourced software development are they referring to bespoke software or does this also include off-the-shelf software?
|
For many reasons, it's often convenient for organizations to have their own CA (self-signed or otherwise).
As I understand it, adding the CA certificate to a OS or browser will make it trust the organization's servers - but also open the door for the organization (or any attacker to access to the CA key) to impersonate... |
This question is a followup question to Storing plaintext passwords for cameras - Security concerns?. In that question, I posed what I thought was a simple question, which actually turned out to have various security holes. Thanks to the answers, I've been able to fix most issues, except this last one...
We're develo... |
In the question Do any security experts recommend bcrypt for password storage? Thomas Pornin recommends the hashing function scrypt but saying it is "too new to be recommended on a general basis".
Scrypt is from 2009 and I would like to know, if any problems have been found with this function, yet?
Also I would like to... |
Using for example ECDH and ephemeral keys, it is possible for two parties to establish a shared key with perfect forward security, i.e. even if the long term keys are lost, it will not be possible to recreate the key generated by the process.
Is there a way of achieving the same result but with one directional messages... |
My situation looks like this:
I have to verify signature on document. For this I will wait when next CRL will be published to check that involved certificate was not revoked. But what if certificate ends (notAfter from Validity of certificate) before next update of CRL?
Schematically:
CRL publishing
Signature creatio... |
When thinking about which messaging solution to use on my new "smart"phone I reflexively tended towards open source products, figuring that I could trust these more to actually provide the security they promise.
Now that I have decided which to use and installed the app from an app store, I have been asking myself: eve... |
I have decided to set my sights on the OSCP Certification and, after reading multiple reviews I've decided to take Abraham's advice to heart and sharpen my axe.
I have experience with Shell scripting, PHP and Perl, but no experience with Python or x86 Assembly which I've read are both useful items to brush up on.
I've ... |
As I'm a newbie in this, I'm unaware of the differences between making a scan using
nmap -v localhost and nmap -O localhost?
Any help would be appreciated.
|
I want to scan printer IPs in my organization. Is there authentic method? I am using Nmap. I have already checked some commands like:
1) nmap -O 10.10x.x.0/24 -oG - | grep printer >> outfile
2) nmap -p 9100,515,631 192.168.1.1/24 -oX printers.xm
With option 2 I have obtained an xml file, but I don't how to read this ... |
What could be the threats of having the ports open, after performing a nmap scan and identifying the open ports?
I already searched for some answers for this question, but couldn't find anything specific. Is there any particular issue with each and every port or are those threats common for all of them?
|
Google has released a new form of captcha identification of bots, that asks the user to click a single checkbox. It uses image-based verification only if necessary.
Could someone please explain to me as to how such a program differentiates a human from a bot?
There is a program here that can perform mouse clicks on you... |
I have created an online web app for my company. It's being tested for security files. The tester loaded the EICAR text file. The virus scanner on the server caught and removed the file.
I have only allowed text, gif, jpg and pdf files for upload. How likely can a text file, image file have a virus? I know things chan... |
What are features of a suitable tool for tracking and reporting security incidents?
Is it a bad idea to have one central repository for tracking all types of incidents, from helpdesk issues, to security attacks, failures, power outage, and downtime? Or it is better to use specific tools for tracking specific types of ... |
As an exercise, I am writing some code that accepts a list of possibly secret properties (e.g. user ID, password, IP address), adds a timestamp, encrypts it, and signs it.
Here's a high-level overview of what the code does - does this look correct from the point of view that it should ensure secrecy and integrity?
The ... |
A particular server I need to interact with has an ancient or crippled sshd installed, and only supports SHA1 algorithms for key exchange. From information in the Snowden documents, I am leery that keys exchanged with servers with weak key exchange algorithms may be intercepted.
I keep a separate identity that I use wi... |
I plan to create a 4096 bit RSA&RSA key pair:
gpg --gen-key --personal-digest-preferences SHA512 --cert-digest-algo SHA512
Is there any difference in generated key quality between versions 1.4 (classic), 2.0 (stable), and 2.1 (modern)?
Background: I consider creating the key on a cleanly booted Debian stable live syst... |
To train the development team, there are various options one can take: inhouse presentation with code samples, CBTs so developers do it at their best time, instructor-led courses onsite or inhouse (expensive), using knowledge bases like https://owasp.teammentor.net/teamMentor
We sent a developer to a very expensive co... |
Who first formulated communication security in terms of the "man in the middle" attacks?
I am writing a book on the history of computing and communications.
The earliest source I have so far is:
Larsen, Gerald H. “Software: A Qualitative Assessment, or The Man in the Middle Speaks Back.” Datamation 19 (November 1973): ... |
Is there any risk, if a database of U2F device key handles are leaked?
Enrolling a key works by:
Send Enroll request with "AppID" to U2F device.
U2F device answers with "Key Handle, Public Key".
Authentication works by:
Send Auth request with "AppID, Key Handle, Challenge" to U2F device.
U2F device signs this and ret... |
I need to know how to properly secure my consumers credit card info without buying expensive certificates? It is possible to use https:// and ssl or tls without an certificate and without scary warnings from browsers ?
If yes what is the safest way ?
|
I'm curious if anyone knows whether the upcoming Let's Encrypt initiative would effectively require SNI.
What I mean is, with the proliferation of the cloud, almost every web-site owner, even with the smallest possible web-site, has their own IPv4-address. However, every such owner may have several unrelated web-sites... |
I am using windows server 2008 R2 and I have lot of customers who use windows XP,7 and 8 with some of them still using IE6. So now I want to disable SSL3 and enable TLS 1.1 as a security measure for POODLE vulnerability. But I have some doubts on this.
1)Should I enable TLS 1.1 in IE or using registry as mentioned her... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.