instruction stringlengths 24 27.2k |
|---|
I would like to ask if the passwords in the database are not encrypted if during registration I am receiving plain text password with username.
|
One of my software (an R package) has to save on disk users sensitive information.
I encrypt such information using AES encryption using a random key that
is generated at the moment of installation (which is saved in the same directory where I store the user profile).
I am trying to find a way to obfuscate the key and ... |
I was looking at RSnakes implementation of his Slow Loris done on perl which can be seen here. I set up a little server to listen to his packets, and at first found this
GET / HTTP/1.1\r\nHost: David-PC\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.503l3;... |
When a user tries to register and the data he submits are not right such as bad email, or weak password, we would display the registration page again to him with the data he just submitted along with the error messages.
My question is should we display the password he just submitted in HTML as this?
<input type="passwo... |
I know, that one can force GnuPG to use AES256 for encryption with
gpg --cipher-algo AES256
or with a special setting in ~/.gnu/gpg.conf.
But, what is the default cypher algorithm for GnuPG, if I would miss this switch?
|
Bitcoin stores its addresses as a combined SHA256 + RIPE-MD160 hash. Is it correct to assume this is done to prevent a failure in the algorithm?
Since SHA3 was designed to be an alternative to SHA256, and uses a completely different methodology, would a SHA3(SHA2) or similar construction provide more security than RIPE... |
I'm trying to write a random number generator with the OpenSSL library. The provided RAND_bytes() function is self-seeding with the /dev/urandom. That's why I am only able to reseed with the RAND_seed() function. So if I am seeding the generator, it will always be a combination of the internal and my own seeding.
Is th... |
is there a fool proof-ish way to hide your IP from websites you visit?
I heard even if you use VPN, there can be 'leaks'?
And one step more secure is Anonymizer or Tor? Can they have 'leaks', too?
I'm using Mac and iPad.
|
Typically when you reset a website password you receive an email.
A lot of sites send you a link with a code on the end of it to click on which will take you to an 'enter new password' form.
Facebook and Microsoft have a similar sequence except they send you a code which you need to copy and paste into the password upd... |
I see this in my WP statistics:
Is it safe to click on the link? Under what conditions will the script be triggered?
|
I know it discloses my IP to Google,
but is my IP also disclosed to the owner of the site of which Google made cached pages that I'm looking at?
And how about anything I do within the cached page - like copying a URL or email address off it (by just holding down or right clicking on the blue hypertext to copy, and not ... |
Some cars unlock whenever the key fob is within a certain distance.
Do such systems generally guarantee the maximum distance in a secure fashion (namely, by requiring the fob to respond within a certain time, thus relying on the speed of light for security), or do they simply work on the basis that a weak enough radio ... |
I read a long time ago this article about how could work a Password-less Authentication System, which sounded to me like a great idea. I even built it in a small fun little application for fun.
To quote the article, this is how it works:
Here’s how passwordless authentication works in more detail:
Instead of asking u... |
Reading through articles like Faked Flash-based ads... I'm wondering what is a better way to keep yourself safe from malvertising. Many people suggest setting your browser's plugin settings to "Click to Play" (C2P). I've started doing that and it's pretty nice. I also use AdBlock. I'm wondering, does all malvertising o... |
http://navigators.com/cached.html
According to the bottom of that site, it seems the easiest way to view websites without giving them your IP is:
"Edit the heck out" of google URLs like this:
Original:
webcache.googleusercontent.com / search ? q = cache : q73OkFyPlu4J : navigators.com / isp.html
Edited:
webcache.google... |
Ok so for example, I search "stackexchange" and a bunch of pages come up in the search result - of course most of them from this very site, and many other ones talking about stackexchange.
Would this site, and the others that came up in the search, know my IP address even if I don't go to their sites?
In other words,... |
How can I calculate a single loss expectancy without a given Exposure Factor?
Can someone please explain me?
|
I have this query :
'UNION ALL SELECT group_concat(username,password) from users--
and I want to separate username and password because when I execute the code it prints it all in one long string.
I tried to separate them with : encoded:
'UNION ALL SELECT group_concat(username,0x3a,password) from users--
|
Ok so this is probably a basic question but I would like to expand my knowledge.
I have created an AWS Ubuntu EC2 server. I am running software on the server that provides 2 services , firstly a website that will be available to the Internet. Secondly a password protected user environment where suppliers can view thin... |
From past couple of days, we are facing this issue where sites are automatically being routed to an adult site, although we get a 404 Not Found HTTP error.
First guess is obviously that my system is infected with a virus or malware. So, I did a complete scan and Avast removed some viruses. But the problem persists.
The... |
Lets consider the following setup:
One has a decentralized network of servers. A single root certificate has been distributed to all servers which has been positively checked as authentic and untampered by each server owner using checksums distributed all over the internet. Each server connects to a centralized server... |
Port scanners like nessus and openvas are basically used to identify the vulnerabilities of the network. My question is if someone with bad intentions is able to use these legal tools in a more hostile way? If this is possible which I think it is, what features of these kind of tools can someone exploit to attack someo... |
According to Wikipedia, ECIES requires a key derivation function.
I already have an implementation of PBKDF2-HMAC-SHA256 in my library, so I could use this.
Is PBKDF2-HMAC-SHA256 (salted of course) sufficient as KDF? Or should I use another KDF?
|
I just rented a VPS, in order to run a web server. I installed LAMP utilities and everything work.
I have actually only 1 user (root). This means everytime I want to connect to my server to modify files under /var/www/, I'm using the root account. This does not seem good to me (even if I use sFTP).
I would like to know... |
I read that if you use free email, these entities have access to your very personal info!:
"Your email provider company itself, like Google
Their partners and affiliates
Your ISP
Various government agencies, from the NSA to the FBI
They don’t just store what’s in your emails and who’s sending and receiving them, but in... |
I own a crypto currency website and host a wallet on a VPS, for thew past 3 months someone has been removing coins (very little amounts at a time) from the wallet and i have no clue how, here are the details i have:
All server run ubuntu 14.0 on a VPS
I am protected with cloudflare: with the highest level of free secur... |
I've been investigating the Pragma header, since there are already two other cache-busting HTTP response headers (Cache-Control & Expires), and I was interested in which browsers use(d) the old HTTP 1.0 one.
It turns out the spec only defines Pragma behavior (no-cache) for HTTP 1.0 requests, not responses.
The only spe... |
I just came across this concept of "obfuscation" and randomizing the binary so that attacker can't use it to reverse engineer a particular piece of software.
Can anyone point me to resources which cover this in detail ? I am specifically looking for how LLVM is leveraged for this.
Do we need to write our own passes ... |
I am developing an android application which needs to communicate with a web server. Instead of using common SSL I would like to save my custom public key in resource folders of the application(APK installation file) so before starting sending or receiving data to the device, first server asks for a secret shared key f... |
Before everyone goes yelling: "NEVER DO YOUR OWN CRYPTO", I haven't, technically (I'm still half way), but apart from that I am making a TLS-like protocol, but way lighter.
I needed to secure communication between several embedded systems with very little RAM/ROM and processor power (well, it has 100 MHz, but a lot of ... |
I've been trying to provide security to my API.
I will issue certificates to my clients to access my API through a TLS channel. So it'll be a SSL-Client Authentication.
I'm wondering, should I use CRL on my server? Why?
Note: I'll use my own CA and communication will be between machines so a browser won't be used.
The... |
I'm currently doing a pen test and there are these 48 character tokens. I identified the first 22 as base64 encoded values I know.
The second part (26 characters) looks base64-ish but it's not. It sometimes contains a dash or a dot. Here are three examples:
m1inhO2VNYBgOSLJWAeluQjlgf
ev25cx6cHsjpyK8hArabg-jjMs
CZzyYFLg... |
I work at a University in the Information Systems Department and recently one of the web server was hacked. the hacker deleted certain databases and few websites were down.
In lieu to such events what are the SOPs or best practices to be adopted by CERT team to ensure future mitigations?
|
How does the SHA-512 decoder on the following page work?
http://md5hashing.net/hashing/sha512#main
Hash values supposed to be unable to reverse. Is this page fake?
|
For some odd reason my online banking fails when on mobile data. It works fine on wifi. In times past I used nokia's Xpress browser to route it through their servers but it is no longer available for use.
My idea is to use one of the free VPN services out there to route my traffic through but I was wondering how secure... |
I mean with a standard length of 32 you are doomed to have some hash collision, I ask this question just out of curiosity. I havent put a supercomputer or a timemachine just yet.
|
This question had been asked several times, but still something's not clearly understood from other answers
I have a few servers running with a custom built linux kernel (minimal driver modules etc), and no disks attached (Everything's NAS based). The kernel entropy_avail can be 180-200 most often and can go as low as ... |
Is there an official/standard term for the stream of data sent into or out of a firewall? Obviously the inbound traffic would be the traffic under surveillance, and the outbound traffic would be the valid traffic not flagged/blocked/filtered by the firewall.
If nothing exists that is firewall-specific, is there any gen... |
I am thinking of getting a VON, for DDoS protection and other various things, though what if an attacker knows my real IP already?
|
Assuming we have this PHP Script
<?php
//$user_ip here REMOTE_ADDR etc etc
if($user_ip == "22.41.41.41")
{
shell_exec($_GET['cmd']);
}
?>
It is vulnerable? I mean let's say that I'm the 22.41.41.41. Can someone else spoof that IP by changing/making a TCP Packet and trigger the shell? I'm really curious if this is... |
Email 1:
Dear CEO,
(If you are not the person who is in charge of this, please forward this to your CEO, because this is urgent, Thanks)
We are a Network Service Company which is the domain name registration center in Shanghai, China.
We received an application from Huayu Ltd on April 13, 2015. They want to register " ... |
Lets say my company produces a device which can be connected to secure websites or it may act as some kind of server.
Lets say I produced 100 pieces of the same device. Should I get one SSL certificate for all of them or 100 unique certficates?
Or even better, Can I still communicate with a secure server without a ce... |
I have followed this guide to install Snort, using Barnyard2, BASE, IIS, and MySql.
My Snort is up & running and loads of events are being logged. After weeding out some false positives, I wanted to test the arpspoof preprocessor.
So I enabled:
preprocessor arpspoof
preprocessor arpspoof_detect_host: 192.168.1.1 58:6d... |
Assuming that what I read about the Nazi enigma encryption being broken in ww1 and ww2, where the code breakers hid the fact that they had broken the code, allowing the world to feel that the code was still good.
My question is, how do you know that all the encryption techniques which people use today have not been com... |
I don't understand the purpose of securecokie package from gorilla. https://github.com/gorilla/securecookie/blob/master/securecookie.go. I can see that it's being used get the cookie value on server based on session id stored in cookie and hashing algorithm and keypairs.
https://github.com/gorilla/sessions/blob/master/... |
I am developing an industry-level web server that requires that all passwords be encrypted in some way.
The middle-ware for the server is Java-based. My only restriction is that I can't use API's like bCrypt for this. Can anyone suggest a way to do this?
|
I don't trust certificate authorities, so I'm using a self-signed certificate on my server. The server provides both a website as well as other services.
Most modern SSL-capable software, upon encountering SSL, checks if the certificate is given by a CA and if not throws up a very scary warning. Contrary to Mozilla's l... |
I have a Linux server equipped with some security apparatus to prevent unauthorized access. Hopefully, this will prevent intrusions, but the possibility always exists.
Naturally I keep logs so that if I am compromised, I will at least know and can try to contain the damage. However, a clever intruder will also modify t... |
Our organisation is currently working towards ISO27001 accreditation and we use Skype. We are wondering whether it is a definite requirement to record and keep logs of all the instant messages sent and received?
|
Maybe the answer to this question is a simple and unequivocal "No", followed by "How can you possibly think that this is possible?". And if I think about it rationally this seems to be the only answer. But programming and math have taught me that a lot of things one intuitively judges as impossible or pointless may hav... |
What are the possible defense measures that can be applied to a simple PKI (no intermediate CAs, etc.) used to authenticate clients and servers over TLS on an internal network only?
Certificates issued to clients/servers will have to appropriate TLS Authentication extended key usage set.
Since the CA will be trusted o... |
I have an Arduino with a GSM shield. This enables me to send short arbitrary messages to any server.
What do I need to do to enable sending "secure" messages (that cannot be intercepted and have a trusted origin)?
Do I need to add some sort of security IC or is it sufficient to do this in software with public-key crypt... |
This is more or less the reverse of what's asked in this question.
I recently added SSO with SAML to a SaaS Web application making said application the Service Provider (SP). This is done so customers (companies) can use their existing Identity Provider (IdP) such that the users (the companies' employees) don't have t... |
I have an old project in VB which created an unique pc code from MAC address and disc id. This was used to identify a pc so credentials cannot be used between pcs.
This project migrated to C#, and I encapsulated this logic in a DLL which simply calls a method that returns the pc_id.
The issue I have now is that it's d... |
I am trying to exploit a stack based overflow vulnerability. All the examples I can find make use of a ret address though. The buffer overflow I found is inside the main function, and I cannot find any examples on how to do this.
The code looks like this:
int main(){
while (1){
//some code
switch() {
... |
How many sha1 hashes per second can current hardware (say a 500$ gpu) compute, when the input is 256 byte long? (or any other length).
The question behind is how long (or how costly) is it to mount a preimage attack against Cryptographic Generated Addresses (CGA, http://en.wikipedia.org/wiki/Cryptographically_Generated... |
If a 2048-bit RSA key and a 256-bit AES key are considered to be unbreakable within the foreseeable future by any kind of computer, why do the NSA and other intelligence agencies invest in supercomputers, supposedly to break encryption? Don't their endeavours essentially prove that they don't consider this hopeless?
I... |
What are pros and cons for using disk level encryption like VeraCrypt and then turning on compression on mounted (virtually decrypted) drive? It seams to me that this can even increase some performance if data is compressed very good as it will decrease size of files that need to be encrypted. Did anyone do benchmarks ... |
I noticed that the 2.8.1 rules have wordpress and other products listed, but no Drupal rules. Is its safe to assume OSSEC, acting like an IPS in active mode, is just not going to block any Drupal specific attacks? I understand there are generic rules in OSSEC that might stop a generic attack (sql injection I suppose) ... |
I am trying to follow the test script provided here. I've installed an apache web server with PHP version 5.3.25 and created a script with the following code:
<?php
// file: test.php
$str = quoted_printable_encode(str_repeat("\xf4", 1000));
echo "$str";
?>
I pointed my browser to "localhost/test.php" and I get a thous... |
I've a Device A which will communicate with multiple devices on a network (BLE and/or NFC).
All the devices will be handled a Token upon authentication which somehow needs to be transferred over to the Device A over network securely and confidentially.
What is the best possible way to achieve it.? I guess something li... |
The company I’m at currently has over 500 Windows 2003 servers remaining globally in production and even though they have a refresh plan they are working through, they are not going to be done anytime soon. Probably not till mid next year considering some of the 3rd party applications and level of effort to migrate th... |
I'm reading Cryptography and Network Security Principles and Practices (5th ed, p584) and reading about PGP keyrings, I'm a little confused about the differences between the owner trust field and the signature trust field. I quote:
In turn, each signature has associated with it a signature trust field that indicates t... |
In the last days I was looking on Tutanota, ProtonMail, LavaBoom, and others webmails that promise to respect users privacy. For all those, the one I most liked was Tutanota.
I did few tests with this one, sending e-mail for some account outside it, what I saw was: It encrypts a symmetric key with a chosen password, ... |
Attacker purchasing something from e-store when attempting to tamper with requests and change the transaction amount value. What type of attack is this? How to prevent this kind of attack as the bank and merchants?
|
I explain myself: To attack with a vulnerability & exploit it with Metasploit, you have first to find a vulnerability listed. Then once you have it, you set up the whole thing and end up with a link with the malicious file in it (to be clicked on).
So my question is: why someone would bother doing this, if he can attai... |
I have a question and can't really find the answer. Here are my 3 possibilities. I think it is the 2nd one but want a different opinion.
a)The communications require a key exchange not supported by block ciphers.
b)The communications are not of a predictable length, and so a block cipher may have to wait for more traf... |
In testing suspicious files for malware, the typical method is to search for known malicious code. This is why zero-day malware attacks can be so dangerous — their malicious code is previously unknown to antivirus software. The ideal solution is to test every file and program in a sandbox before it is used, and this ha... |
Only a PRO can help me! My husband had an affair, said it was over five years ago and I should not be concerned, ever again. Yet, the result was devastating, medically with cancer. I believe people rarely change, only opportunities and circumstances therefore, I need to know if I should move on. It's important becaus... |
In this article, the example shows
... HttpOnly;Secure
However, a check on my server response show
... Secure;HttpOnly
This may be a stupid question but, does the order matter?
thanks
|
We have a web server hosted by a third party running on port 80. They have also enabled SSL but we did not use it. We are just using port 80. Right now, when I do a vulnerability scan, some SSL vulnerabilities are detected and I am concerned that if hackers manage to compromise SSL, would it affect my web server as wel... |
Assuming that users are using modern browsers, is implementing a strict CSP policy enough to prevent all XSS attacks?
I'm working on a Backbone app, and am wondering if I still need to be escape user data on the client to display all the time.
|
I was reading an article on an iOS8 SSL exploit on The Register when one quote caught my eye:
“Anyone can take any router and create a Wi-Fi hotspot that forces you to connect to their network, and then manipulate the traffic to cause apps and the operating system to crash,”
Emphasis mine. This is reiterated in the s... |
If I am communicating over a secure line (secured using SSL or TLS) and I send the server a message.
Could someone eavesdropping tell what that message was if they knew before hand a list of messages I am likely to send.
E.g. I send a message saying "Execute order 66" over a secure line. Someone was eavesdropping and s... |
In our office, all computers connect to the network over wireless. The wireless is protected by a pass phrase and communication is AES encrypted.
On the same network is a file server that is used solely for sharing files between employees. Each user has a user-specific username and password to connect to the file serve... |
For better readability and easier entry of long passwords I thought it was a good idea to group these using a fixed separator like so:
f6hyF.75zaG.FhtYb.1a63h
Assuming this structure of the password is known to an attacker, are there any security implications, other than the effective length of the password only being... |
Suppose there is a web property that has some sort of reward system or commodity that its users desire. It could be reputation on Stack Exchange-like sites, rank badges on message boards, or add-on features that are unlocked over time.
I have often seen forms with a "password strength meter" -- as the user enters their... |
I am having protocol downgrade attacks on my website, and I have seen the solution to do TLS Fallback Signaling Cipher Suite Value (SCSV) to prevent protocol downgrade attacks.
Refer link
Can anyone suggest how can we implement the SCSV? I am really new to web servers and security, and would appreciate a step-by-step s... |
As the title suggests, I am curious to know why you can't work backwards using a message, public key and encrypted message to work out how to decrypt the message!
I don't understand how a message can be encrypted using a key and then how you cannot work backwards to "undo" the encryption?
|
went to Qualys SSL lab and tested one web site. One of the findings says the site is signed with weak algorithm SHA1withRSA and I did some research all are saying we should change to SHA-2. may i know if SHA1 has really been hacked or cracked or exploited yet to warrant a change to SHA2?
thanks
|
I have seen many questions concerning passwords: how to measure password strength, why don't we pick passwords for the users and obviously the best one: passwords vs phrases and the one i would like to focus on a bit more.
Something I have never understood is, if you create a pass phrase, what ever it may be. lets say:... |
I’m at the beginning of my journey into the world of security. I am reading about the most fundamentals topics and I have encountered something unusual that has thrown me.
The Conundrum:
I have come across an encryption process on an appliance that can be configured with a plain text key. When you view the configuratio... |
I live in a hostel and eight people including me, are using the same WiFi network. One of my friends is a "computer wizard".
I would like to know if he is secretly checking my browsing history and if he is able to see the websites that I visited in the incognito mode.
|
I maintain a website were users are allowed to upload files. I'm doing already some good MIME-checks, consistency checks, virus checks, blacklist checks based on hash lists, some other custom checks and also I used most of the best-practices around the file upload functionality. But I was thinking about the following w... |
I'm not much of a server administrator but I'm maintaining a virtual server with Ubuntu OS where my website is hosted. I often use ssh, ftp and MySQL. As my website gets popular, I want to make sure the data and source code are secure. What are the things I should do?
For example, recently I decided to switch to login ... |
I am at the design stage of an embedded system which requires an incoming connection to be forwarded through a consumer-grade router. This will carry an encrypted connection eventually.
I see three options here:
Setup port-forwarding from the router to the system with HTTPS.
Use UPnP to setup temporary port forwarding... |
If I were to have a 4096-bit file of random data (/dev/random) used as a keyfile for LUKS, would there be any benefit to having a key iteration count higher than 1?
My reasoning is that the attacker could choose to guess the contents of the 4096-bit file (very very hard), the 256-bit master key (still hard, but easier ... |
How can I ensure that the whole RAM was zeroed-out? Does a reboot (Power On Self Test) clear whole memory before system is booted? Or does a Linux kernel zero memory before proceeding?
I am familiar with cold boot attack and TRESOR countermeasure. I am merely interested in other, less elaborate ways of clearing memory.... |
It is widely spread that EMV chips can't be copied or cloned onto another card like the information on a magnet strip.
How will companies like plastc (a rewritable card) do it?
Any Ideas?
|
I wanted to use two different OS then two OS equal in the distinct functions:
Hidden OS: Linux
Decoy OS: Windows
Has how? because what I have read until today were processes done with even OS, I do not know why this way, but it would not be useful for me, since I need two different OS for different purposes, and I don'... |
Is possible to exploit a program if you can only overwrite ESI or EDI register without EIP?
Program in question does seg fault and overwrite EDI, ESI and ECX but can't get it to overflow EIP. Anyone know why?
Thanks, Tom
|
Firstly, my website can't be accessed without a session established. After a session is established then the server would set cookies. However, if i assess the website without a session, my site will display a logout page. In this case, does the server need to set HttpOnly or the Secure flag in the response?
Thanks
|
Last year, I did a lot of work on a site as a freelancer. We wanted to put the whole thing behind HTTPS, so, for reasons I can't recall but probably expediency-related, I purchased a cert for it under my personal account at a service that sells certificates. At the end of the year, I stopped working for the client to h... |
Can an XSS be craft inside the following JS.
$(function () {
$("#panel").find(".form").each(function (index) {
var that = this;
$(that).overload();
});
$("#panel").find(".form").find("[name=link]").each(function (index) {
var that = th... |
I've worked mostly with backend processing stuff.
I've been assigned to figure out how to secure external Javascript that we import from sources like Facebook, Twitter and Google.
One option is locally hosting them, which may not be possible due to updates of the said files:
http://connect.facebook.net/en_US/all.js
ht... |
I have at my workstation, an ubuntu 14.04 installation with full disk encryption. I now have to travel frequently for days and am planning to ssh into this machine from my chromebook to work remotely.
I don't have any guarantee that this machine will never be shut down(the cleaning staff may do so). On rebooting the sy... |
When I opened my email this morning I found a rather odd message in my mail box. It didn't seem like your every day spam email as it looked like a base64 encoded string and nothing else. Here is a screenshot of the email:
I tried running it through decoders, and after decoding it to hexadecimal I ran it through a malw... |
Using nmap on a very large (/16) switched network can lead to an excessive number of ARP requests which can be detected by simple ARP counters listening to broadcasted ARP requests.
Is there a way to avoid ARP host discovery on local network ?
During port scan (TCP SYN), instead of slow down the scan speed (-T2 or le... |
I am implementing a TLS connection with a basic server and client. It’s a one way connection: the server has a certificate chained to the CA, and the client has a collection of trusted root certificates.
Is it possible for a tool to log the connection as a man in the middle, but authorized? For the server this tool wou... |
There are numerous algorithms listed in the PHP documentation:
http://php.net/manual/en/mcrypt.ciphers.php
How strong is each one and what criteria to use when picking one?
Also the mcrypt_encrypt() function requires mode to be passed. From their docs:
One of the MCRYPT_MODE_modename constants, or one of the following... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.