instruction stringlengths 24 29.9k |
|---|
A part of my /etc/login.defs file looks like this:
ENCRYPT_METHOD SHA512
# Define the number of SHA rounds.
# If not specified, the libc will choose the default number of rounds (5000).
# The values must be inside the 1000-999999999 range.
# If only one of the MIN or MAX values is set, then this value will be used.
# ... |
Let's say I issue RFID-enabled membership cards for events. People can have their credit cards, personal ID, etc tied to this membership card. When they come to my events, they can use this card to pay for things, verify age, etc.
From what I understand, RFID cards are fairly trivial to duplicate and thus steal remotel... |
YouTube is not available in my country, but I want to make an account on YouTube and use it. I'm not interested in protecting my identity. It is fine if anyone can monitor it. The thing I'm interested in is that I don't want my YouTube account compromised. I want to make sure that my YouTube's username and password (an... |
I have several files on my Ubuntu system, which are LUKS encrypted partitions. For my own shame up to this day I thought that simply changing binary file's extension will be enough to hide what a file really is. I.e. if I rename my LUKS partition stuff to windows.vdi then everyone would think that this is a virtual box... |
I have a Java-Server program running on Ubuntu-Server which gets every 5 minutes current location data of my android-smartphone (which I carry with me).
My architecture is the following:
My smartphone connects to the server using tlsv1.2 and transmits the gps location.
After receiving the data, the server-program estab... |
I went to the web address (hxxp://www.asanka.com) (WARNING: BE CAREFUL WHEN VISITING) on Safari, then suddenly I got a warning message [image below]
What do I do? I'm freaked out. I have a lot of personal stuff on my Mac that I don't want anyone to see.
Edit: in response to @Freedom
I believe when I clicked Ok which i... |
I'm thinking of adding my website an option to login with just 2FA's second factor instead of just password. How safe would it be? I'm thinking of TOTP as 2FA method. Considering it isn't a big or important website, would it be safe?
|
I know the basics of SSL encryption and how certificates work, but there are some points that are not clear to me regarding the SSL security:
If there is a intercepting proxy between the web server and the client, mostly the proxy uses its own signed certificates which the client may or may not trust. Then why don't p... |
Most sites, when you register via e.g. Facebook, redirect you to a page afterwards asking you to enter additional information that the site needs. Very often this includes setting a password for the site.
I don't understand why this is the case.
I am creating a site, and want to allow the user to register either via e... |
Okay, so I just recently visited a couple of https (secure) websites and noticed that there was a difference with the way they were shown in Chrome.
As you can see, the top one has some extra text next to it. How is it possible and can I use it if I have an AlphaSSL Private SSL certificate for my website on a shared ... |
For the past year and a half now, I've been working as the sole individual at a small retail hardware store trying to attain proper (read: not checkbox) compliance, and I am beginning to enter the final stages of the process.
This means it is also time to begin making final investments into hardware needed to be PCI co... |
Given a WAN, which is connected to the internet via a single exit point.
Inside this WAN, I don't want to have any subnet structures.
Every user gets his own access point, which he can expand via switches.
The use of routers and especially WiFi routing is strictly prohibited.
How can I find out if a user is setting u... |
Like the guy in this thread :
Error-based SQL injection
I understand the idea behing SQL Error-Based Injection but not how it works on the MySQL server.
or 1 group by concat_ws(0x3a,version(),floor(rand(0)*2)) having min(0) or 1--
Because we are on a WHERE clause, the or 1 is here to cancel the previous condition and... |
To make hashes harder to target by specialized hardware, I intuitively imagine that mixing a set of different hash algorithms should provide additional strength. For simplicity lets assume Hash1 is a number of iterations of SHA256, Hash2 is bcrypt and Hash3 is scrypt:
myhash = Hash1(Hash2(Hash3(0, password, salt), pass... |
I have written my own random number generator as a C library and I tested it on NIST Statistical Test Suite.
Now I would like to get a certification to have a formal proof that my C library generates random numbers randomly enough according SP800-22.
On a NIST web pages I'm not able to find some list of independent lab... |
While everyone and their favorite webcomic seems to agree that password reuse is a major problem, some quick googling cannot seem to find any cases where it has been used on a large scale in an attack. Thus I ask, has there actually been any occurrences of a large-scale breach made possible by password reuse? If not, w... |
In the third Mr.Robot episode a character inserted a Micro-SD card in a smartphone in order to root it and gain information, so I thought maybe someone could fit a root-kit on a Sim-card. Would that be possible to achieve in terms of the space available on a Sim-Card?
|
Suppose I have a plaintext message P, and I encrypt it using key K to get ciphertext C.
It's trivial to find a different plaintext message P' and a key K' so that the encryption results in C: just decrypt C using K' to get P'.
But suppose that I have a specific P' that I'd like to encrypt, using any key, so that P' enc... |
if you see under account info that your gmail account had suspicious activities, do you keep using the account after you beef up the security (such as changing the password)?
|
A PHP website ends with php?id=1 and when I place a tic it prints this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/otmsm/public_html/bonnes_adresses.php on line 75
The problem is when I wish to enter ORDER BY 100-- after (link should be php?id=1 order by 100--)... |
I'm trying to compile a list of common characters and statements in obfuscated JavaScript. I'm using http://aw-snap.info/articles/js-examples.php for obfuscated JS examples, but I cannot distinguish whether or not common characters/statements are actually common within obfuscated JS. Any list/source that could be more ... |
I was making a volume with trucrypt and I set the size to be 12MB. I tried copying 10 files totalling 7.13MB (on Disk) but got an error saying I did not have enough space. Why is this? Is it because I'm copying from an NTFS format to FAT?
|
I've started trying to increase my networking security at my house. One thing that worries me (because other people in the house are always downloading viruses that come along with "free" games) are RATs. In my ignorant understanding of how RATs work, they basically get you to download a 'server' that a 'client' connec... |
Tenable Nessus states that if there is a DNS Server Recursive Query Cache Poisoning Weakness the host allows recursive queries via UDP, then the host can be used to 'bounce' Denial of Service attacks against another network or system.
What is a bounce DoS attack and what is the importance of UDP in it?
|
Can any one suggest simpler Attribute Based Access Control implementations available for big data systems like Hadoop, Hive etc?
I have checked Apache ranger they dont have any support for ABAC yet . Apache Sentry does not do ABAC it just has classic Users/Groups/Resources kinda RBAC
|
I know one way of doing session hijacking
1.copying the session value from the chrome browser and pasting the cookie value to firefox browser
Is there any other way of doing session hijacking ? If yes please share the process of doing session hijacking.
|
My Sony Xperia Z3 Compact has been infected by a malware that redirects my browsers to either one of the two websites: www.totaladperformance.com or www.admomi.com.
I have the paid version of Bitdefender in my phone, which luckily blocks the websites from opening but is unable to detect the malware in the phone.
I have... |
Say we have amount random entry codes of length characters from an alphabet of size alphabet.
The number of possible codes is then easily calculated as keyspace = alphabet ^ length.
Now take an attacker who is trying to gain entry using brute force random guessing of codes. At guess rate rate, the time in which they ca... |
Not sure why the concern on privacy has been focused on the government. There has been no mention for people on the ability of their companies, exes, and even the random stalker to snoop their online activities.
Previous companies, I've worked for had people with the capability to snoop and listen through my personal p... |
Without using a 'fishing' homepage explicitly asking for the user to retype the WPA key. Is it possible to catch the WPA key wich is sent to a rogue AP in the initial connection phase ?
|
We have two hosts, theoretically in the same data center. The two machines are hosted at Online.net. We're having a bit of a debate: should the traffic between the two hosts be encrypted.
The traffic we need to exchange are Redis queries. The data that will be exchange is Twitter and Facebook user IDs, a code to indica... |
We are currently designing a REST API, and thinking about securing it.
Going through a lot of documentation, it has become clear that 2 options are available.
HMAC Authentication
By hashing with HMAC-sha1 a series of predefined elements with the secret_key, we sign the request. The verification is done by doing the exa... |
I think this is more urban legend around where I work than anything. I do not see anything in RFC 2459 that specifically says whether or not they should be used or if there are any known problems with using them. It only says:
From RFC 2459
Finally, the semantics of subject alternative names that include
wildcard ch... |
Over the past few weeks I have heard discussions about a DNS reflection attack and a DNS amplification attack.
Is there truly a difference between the two or are people just using 2 different names for the same attack method?
DNS Amplification Attack definition 1
A DNS Amplification Attack is a reflection-based Distri... |
Question: What encryption features/(configuration options) are implemented that mitigate issues with device/block corruption?
For example, if the external hard-drive gets dropped, the damaged portion of the data shouldn't cause cascading faults through all of the different encrypted data-sets on the drive.
What softwa... |
All of the material I'm reading on Proxy Firewalls, Content Inspection, Application Layer Firewalls & Web Application Firewalls indicates that they are inherently unique devices / applications. But the descriptions for each are so similar that it seems like there should be a broader relationship. I understand what ea... |
I've decided to learn sqlmap but having an issue with Sqlmap trimming some of my output, the hash. The hash is about to be 32 characters long but I'm only getting 25 and the warning:
[WARNING] possible server trimmed output detected (due to its length and/or content): HASH'
It's only trimming this column, not the oth... |
We are deploying a security solution which uses certificates to validate documents.
These certificates are issued by our government-authorized CA.
What if in a distant future, the CA who provided us with certs no longer works? How is this type of incident normally addressed? As a certificate owner, are we obligated to... |
I live in a big brother country (Egypt, but valid to many other countries), which apparently bought Hacking team and fin fisher software since couple of years.
After reading about the very-easy ways to infect computer using traffic injection, I thought about putting openvpn on my main router; to prevent traffic injecti... |
When would a DNS attack actually happen?
Is it already possible when i connect my pc to the router which is connected to my isp's modem and has received their DNS servers, or later when i am trying to reach a website?
If the second possibility is true i guess using tor browser or whonix would be an adequate protection ... |
I found this article and it describes some DNS attacks.
Those are mainly targeting login credentials, banking information, and so forth.
By redirecting the victim to a malicious site it could be also possible to take over the whole system, as far as I understand.
Still, if my browser is secure (no js enabled, no pictur... |
Would like to ask currently, is the National Vulnerability Database (NVD) still the place to go if you want to search for update vulnerabilities for different products? I find that some product vulnerabilities are not found in the NVD database. For example, I search for "Sitefinity" and it gives me no results. But when... |
I am planning to use facebook authentication for my website
window.fbAsyncInit = function() {
FB.init({
appId: 'APPID',
cookie : true,
xfbml : true,
version : 'v2.2' // use version 2.2
});
This will initialize the facebook authentication and at the end of it, there will be a face... |
We have a situation. We want to grant remote administrative access to one of our servers for clients. As I know, there are two possible ways: 1- KVM-over-IP and 2-HP iLO. The most important thing for us is security. Next we would like to consider other issues like performance and management access levels which we can o... |
If my session is under a Man-In-The-Middle attack, can I detect it by checking the ip addresses my machine is connected to? For example, I want to know if my connection to a certain website is MITMed or not, I can visit the site and then use netstat -antp to find out the IP to which I am connected.
If I am MITMed, that... |
A Fernet token has the following format:
Version ‖ Timestamp ‖ IV ‖ Ciphertext ‖ HMAC
As the above shows, the timestamp is not part of the ciphertext, so anyone can read the time the token was made. In a live stream of data this may not be a problem, but for token stored on disk, an attacker may be able to use the cre... |
I'm trying to use Hydra on an ASP web application. Their login page uses the following method:
site/Login: username/password
If successful, I am redirect back to site/Login but with a newly set cookie, then redirected to site/Home
If authentication is not successful, the site shows an error message on site/Login
I've t... |
I am learning about network documentation for the first time and have come across the following statement:
Undocumented networks might not be protected and can be used to support insider attacks.
According to this website, network documentation is a way of representing the organisation of your network.
Why then mig... |
I understood that Windows 7 and newer Windows clients are DNSSEC aware, but that they are non-validating. That means that they are not performing any DNSSEC validation, but that they can require the DNS server to perform DNSSEC validation.
When the client gets the DNS response, as I understood, it just looks at the AD... |
The team of developers I am part of is trying to develop a safe way to exchange sensitive data between a server and mobile devices.
We have come up with the following algorithm:
Device generates private RSA key, and sends the public key to server.
Server generates unique to user AES key and uses the RSA public key to ... |
This article is intended to be a simplified explanation sans drill-down for people wanting to understand these concepts/terms.
What are DEK, KEK and MEK/Master key?
|
I have a requirement where a PDF document is generated on the application server in a web based .Net application and the same is digitally signed and mailed to the recepient. The signing and mail action will happen on user's action in the web application (on his browser on the desktop). The users signing digital signat... |
I'm looking for a relatively light weight way to secure both integrity and confidentiality for files being uploaded in a point-to-point integration. The use case is uploading batch files for processing. The files contain sensitive data, and should be protected until processing starts.
We'll be using SFTP, but I'm looki... |
I have recently been studying a lot on writing secure code and choosing secure methods for saving passwords to a database. I'm wondering if it's secure to use ready made libraries or APIs to do this for me. How can I verify the integrity of those APIs?
|
I'm using Postgres's uuid_generate_v4 in a uuid primary key column to generate secure one-time authentication tokens. Is this okay? Does Postgres use a secure random number source for generating these UUIDs or should I be generating them using a securely random source on the application-side before inserting them into ... |
First off, I know nmap's documentation is very powerful and I have been reading through it rather extensively.
I will be scanning externally, with permission, to determine ports & services that might be left open on publicly facing assets.
I have about 750 hosts, a lot of them on different subnets. I have the individua... |
I introduced recaptcha to the login screen of a system.
My goal was all about security things like dictionary/bots attacks or other thing of that type.
The users now hate it, Some did not even understand it and I had to remove it.
When I look around, I don't see many systems with that on the login screen, most of the ... |
I am developing a web application which stores encrypted data on a server. I want to derive the encryption key as well as the login key from a single user password, so I want to use libsodiums crypto_pwhash to generate a long enough key, that I can split in two. The idea is that the server cannot decrypt the encrypted ... |
I'm looking at an application where admins can "invite" users by email and invited users. Invited users then are sent a unique URL and are inserted into a MySQL database with status pending and an activation token.
However, the application has a bug currently, where the DB was set up with the password field NOT NULL, a... |
(And more generally, is there a site listing which various algorithms are still considered secure, so I wouldn't have to ask that here? Wikipedia's "known best attack" is not particularly clear.)
I noticed our email system, IceWarp, supports S/MIME in its webmail app. (Which itself is probably not a very good idea cons... |
Say I only wanted to delete specific files and want to feel confident they can't be recovered. Is it better to use a specific program (such as Eraser) for wiping only the files, or is it better to delete them normally and then use a utility like cipher.exe to wipe all free space? Obviously wiping all free space will ta... |
There's a persistent browser pop-up affecting Mozilla Firefox which has evaded a number of security pre-cautions and attempts to find a remove it. It's gone on for at least 3 months.
The pesky pop-up always advertises "super-resume.com" with a https://href.li/ link.
Here's the security that was in place during the orig... |
It seems (to me at least) that is is generally accepted that "electronic identity" and "digital signatures" are a different thing. For example, in the Estonian ID card there are two certificates - one for identity, and one for signing.
They correspond to the real-world actions of "showing" your ID card to the authoriti... |
Today our programming professor challenged us to make a text encryption program: we will hand him a program that only encrypts (not the source code), plus a ciphertext generated by it. We win if he cannot decrypt the given ciphertext. If the program uses a key or some other parameter necessary for the decryption of the... |
I'm curious if there are any examples of malformed IP or TCP headers (for example, checksums that don't match, reserved bits that aren't zero, or poor header length numbers) used by malware, or that are used in exploits.
Examples that (if they were true) would be worth mentioning:
The TCP stack of X vendor doesn't han... |
I have been trying to understand the working of SSL. I know that any https website has a digital certificate with it. So when the client requests something from the server, the server sends with certificate which is signed by some CAs. Since the client trusts the CAs, it will also trust the server.
My question is how ... |
Based on this question, I'm interested in any rational argument that would support the idea of maintaining separate signing and authentication certificates.
Conventional logic & wisdom says there is no need to separate an Identity and Signing certificate, but I'm looking for any rational reason to the contrary (devil's... |
Given this formula for CBC encryption from 6.2 The Cipher Block Chaining Mode
what is the output length of CBC if plaintext P is of length 0?
|
Basically Email service that is ran over a network, so it's not owned by any one entity. Everyone can use it and send email to someone else.
All messages travel through a web of interconnected users.
All messages are encrypted and can only be opened by the user it's meant for.
There can be storage boxes which will ju... |
One of my emails is on hotmail.com provided by Microsoft. Recently, after few suspicious incidents where my computer was hacked and many other accounts, I changed all my passwords including this email. I started ever since reviewing recent activities feature on daily basis. I could see many failed attempts to login to ... |
I work for a head hunting company with offices in Canada and Asia. We migrated our custom built CRM system from our own servers hosted in Japan to an Amazon hosting service meaning that all our data is now held on Amazon servers in the US.
Data includes names, dates of birth, contact details, current and previous place... |
I don't have passwords for my personal sites. To sign up a user pick their username and enter their email. There is a logout button if the user wishes to log out. To log in you enter your email and click the link that is sent to your email address.
Why are we using passwords at all especially if we register a users ema... |
The firewall of my company has detected and blocked a repetitive (every 15 min) HTTP request from a PC, which tries to start a download of a file called ..._chrome_installer.exe(or so) from the host:
http://r9---sn-4g57kner.gvt1.com
Chrome is not installed on that PC. Neither is there any suspicious process, service o... |
I am trying to solve this exercise.
The objective of this is to "Post the Username and Password to Attacker Controlled Server".
There is a url parameter that the server takes, and it gets reflected back onto the page. Which is what we need to use as the XSS vector.
Now, I have written a script like this:
<script type=... |
I have a REST API running in a Tomcat container that has an endpoint that takes a customer email address as a query parameter. It's something like this:
/customers?email=foo@bar.com
Customer email addresses are an asset we want to protect, so we need to ensure they aren't logged any where, and cannot be intercepted. T... |
Is there an order to respect in subjectName field when creating a x509 certificate with OpenSSL command? In other words, what are all possibilities of displaying subjectName of x509 certificate in OpenSSL?
|
I've realized that the following implementation isn't truly safe:
$pb = pbkdf2('sha256', $_POST['pass'], "enc_salt", 100, 100);
$d = openssl_decrypt ($data['container'],'aes-192-cbc', $pb, true, $data['iv']);
In fact, I should use a unique salt for $pb instead of "enc_salt", shouldn't I?
Furthermore, can I simply use ... |
In which ways can my ISP, who by the way controls the WiFi router I connect to, do a MITM attack on my TOR connections and hence read the traffic?
|
This is just an academic question, I do not intend to write my own crypto software.
Every time someone asks the question “How do I write my own Crypto?” the answer is don't.
I'm currently studying computer science, and there is no course offered by the university which seems to be helpful. There are some courses offe... |
the scenario is in a corporate environment and not connected to internet. The other day I was arguing with my colleague on whether email is good enough to be the second factor in a 2FA system.
My administrators will log in to the system via our corporate network, and then an OTP will be sent to his email which he will ... |
I am new to information security field. I am searching for XSS vulnerabilities.
In XSS mostly they use <script>alert('XSS')</script> payload for attacking a websites.
In the case of bypassing the XSS filters, they might encode the payload and use the UpperCases <SCriPT>.
In a recent search, I have found a different pay... |
I'm trying to plan security routine for my new Linux install and few questions came up during searching for solution which meet my needs.
Is it possible to use private key from TPM in GRUB to decrypt /boot partition located on external storage?
Is it possible to use GRUB to decrypt partition located on external storag... |
So I am slightly more than a dilettante when it comes to security but hardly an expert. I have been reading up on the recent Adobe Flash issues and I wanted to ask a couple of questions:
My Mom uses Mozilla on her computer and they have all but completely disavowed Flash. Flash is still used on most ticket buying sit... |
Every time that someone mentions eval(), everyone says that there are "security issues" with it, but nobody ever goes into detail about what they are. Most modern browsers seem to be able to debug eval() just as well as normal code, and people's claims of a performance decrease are dubious/browser dependent.
So, what a... |
Does anyone know any other way to determine who is logging into a system, tracking if worker is on the clock and physically there working? Time tracking is awful in the hourly service world, because a user can always have another user log in and out for them with a shared badges, a shared password, and generally only a... |
I am taking my Macbook into an Authorized Service Provider to run diagnostics on battery performance and my data is encrypted using FileVault 2. I am assuming the technician(s) will want the ability to login.
If I create a user account for them that will be enabled to decrypt the drive, how easy is it at that point to... |
I'm just wondering I'm not a criminal but a friend is also wondering and Idk.
|
I was recently checking my Recent Activity under the "Details" tab inside my Gmail inbox, and I noticed this IP Address, it's not my IP:
I proceeded to look up the IP and it's located in Mountain View California, can someone explain to me what is going on here?
What is going on here, specifically, and how could someo... |
Serial numbers need to be unique for X.509 certs. But do they need to be strictly sequential or is making them equal to the time that the cert was generated sufficient?
|
I was wondering if there is such thing as an OS "internal firewall". If it exists, it must be under a different name.
I am looking for a way to control which applications can talk to which other applications inside of a single computer.
I am not only asking about TCP/IP sockets, but also UNIX-domain sockets, pipes, and... |
let there be two clients and a server; the clients have a shared secret and unique IDs.
their communication to the server is encrypted over SSL.
the problem now is sending secure instructions from one client to the other over the server using socket connections and routing instructions to the right client as well as en... |
In our production environment, we are connecting to a few core external service providers though their APIs, and are required to have all other services blocked (PCI DSS).
We currently have a firewall which supports egress filtering by ip address so all non-essential addresses are blocked based on statically-created fi... |
I am very confused about exactly what http_uri does. Can someone explain this to me w.r.t NORMALIZED and UNNORMALIZED uri fields?
|
As you can see from the tag, I know that security by obscurity is not true security.
So consider a server available to the Internet on port 443 (SSL) of a fixed IP address in the dialup range of a telecommunications provider only. When https'ed, it shows an IIS 8 welcome page. The server can be reached via IP address o... |
I want to ask if there are any security risks for the login authentication and change password on the same page?
Normally the user needs to authenticate first in order to see the password change form. I have seen the login authentication and password change on the same form with 4 fields (User ID, Password, New Passwor... |
Microsoft has stopped offering the Windows images for download. It is now only possible to get the image if one has a key of a retail version of the corresponding OS. The question is now, whether the images that fly around the internet, are safe to use. It is enough to compare the SHA1 of the .iso-files with the one pr... |
I just ordered a cheap Comodo PositiveSSL Certificate via a UK reseller, and I was rather surprised to find that the following files were emailed to me automatically, in a zip file:
Root CA Certificate - AddTrustExternalCARoot.crt
Intermediate CA Certificate - COMODORSAAddTrustCA.crt
Intermediate CA Certificate - COMO... |
I have heard from different people and in different places that if I send an encrypted file to someone else, I should send them the password in a separate email; but why? If someone is sniffing, they will capture both and if the inbox is compromised, they will capture both. But apparently, it's "best practice" to send ... |
I've been thinking of a problem with usual password managers: although they do provide better security than manually using passwords, there's a central database that can get lost, get compromised, etc. For example, malware could use a keylogger to get your master password and then compromise all the passwords in the pa... |
I was just thinking (through browsing the site)
How possible is it to encrypt data, then encrypt it a 2nd time and then after encrypting it with a 2nd layer, remove the first layer leaving the second layer untouched.
file -> encrypted layer 1 -> encrypted layer 1 and layer 2 -> encrypted layer 2 -> file.
technically po... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.