instruction stringlengths 24 27.2k |
|---|
Not sure if this should go under security or Ubuntu but, I believe that my server got hacked somehow. Its being hosted on Digital Ocean and I mainly use it fiddle around with things. Today, I got a notification from NewRelic that my sever has surpassed 90% disk usage. Logging in, I run a normal df -h to find this:
File... |
We run an online software service that collects and transmits card transactions for small merchants. They use card swipe terminals connected to their business PCs that direct the traffic straight through to our secure portal via HTTPS with two factor authentication. These merchants are our customers and their busines... |
Triple handshake attack was discovered lately, and to quote the article "The secure renegotiation indication extension only binds handshakes on the same connection, but does not apply if the session is resumed on a new connection.", that is to say, after an initial handshake in one connection, the old session is resume... |
Is there a PKCS #x already out there that was designed to sign ASCII data and protect it from manipulation? I was originally guided to PKCS #7, but based on posts here it looks like the data is not signed, just the CRL information. Don't care about that.
Here is how I would like this to work:
Establish a root key se... |
I have a MySQL and Apache web server (both are installed on the same machine). Users will interact with it by a VB.NET application and the web. The server is accessible by the Internet.
VB.NET application: They fill out the fields, and submit the information to the database.
Web: Users can view the information any user... |
I am evaluating an internal 2 factor authentication implementation in an organization. The system designer wants to remove regular user names and passwords from all user workstations such that each user will have his badge as a login token and will have to enter a 6 digit key to login into his workstation. Is this a no... |
In Linux we have the salt just next to the password hash in the /etc/shadows file.
I always hear that salt value prevents hashed passwords from being cracked by brute force methods. But if somehow we get the shadow file we can inject the salt in the algorithm and still use a brute force method, right?
I'm not consider... |
Are there any significant speed up in time on cracking an RSA key (either brute-force or factoring with general number field sieve) using a GPA or FPGA compared to a CPU? If there is a speed advantage, are there any figures on how much it is?
|
It seems that in a MITM attack, hackers may know the whole HTTPS packet size sent through the network (i.e. size of HTTP headers + HTTP body + overhead). Besides that, does the HTTPS protocol also allow the hacker to recover the length of the HTTP body (either compressed or not)?
I ask because this is related to wheth... |
Suppose F(X) = (5X) mod 9 is used to generate a one time password.
I am supposed to generate the first 8 values using the above formula, starting with the seed value of F(5)
Well I know that F(5) = ( 5 * 5) mod 9 gives me 7. Thats my first value. But what about the rest of them?
I know what the answers will be, but I'... |
CGAs are sha1 hashes truncated to a 59 bit value. Along with a 3 bit security parameter they form a IPv6 address (more precisely the interface identifier).
from wikipedia:
The Sec parameter implements a hash extension by enforcing the first 16 times Sec bits of another hash, Hash2, to be 0
and...
For a CGA with Sec ... |
In the film "Citizen 4", it's said that we cannot encrypt an SD card. Do you know why it would not be possible?
|
Whereas I'm aware that the synchronizer pattern is the recommended approach to prevent CSRF attacks, I am in a situation where it would be a lot faster to implement the origin header check.
I was hoping it would be very easy to have a server-wide filter in IIS (7.5) which would allow me to block POST requests that are... |
I am well aware of the concept of CSRF, and I think I am also aware of the possible protection possibilities, as described by OWASP. However, I'm not sure why the synchronizer pattern seems to be preferred, if we could just as easily check the origin header of the request. The latter could be done server-wide, which wo... |
I don't want any website to identify me and to know what is my geographical location.
As far as a website is concerned, I am always a new visitor who never visits it prior. If I leave the website, power down my browser, restart the browser and then come back, then I am a new visitor, not a returning one.
A way to do ... |
I had some work where I needed to secure streaming. So I looked over all DRM protections that are currently available, and then I found out that I had 3 opinions, first to use very expensive DRM (Adobe) that would cost fortune, second one was to use some cheap one which require installation of some bad quality plugins ... |
I have just downloaded a Polish program Passtool Password Reader (written by Rafał Jelitto), unpacked it from .rar archive and run it. I have hit the bottom-left button (Pokaż wszystko) and this small piece of software has immediately punched me with all my passwords ever used in Mozilla Firefox and Mozilla Thunderbird... |
Normally, the password size is fixed by the hash function in which the password is given right ?
Because otherwise, if the password size is bigger than the hash result size, there should be potential collision am I right ?
Ex : Consider the Hash function SHA-1, the size of result is 160 bits (or 20 bytes). If the passw... |
I am working on a project which involves me to simulate a network attack and to use wireshark to detect the attack. DOS/MIM etc. I have found the following links that provided help but there are still some ambiguities in attack generation. Can anyone provide a simple method to do so?
http://www.lidi.info.unlp.edu.ar/W... |
For Above image:
All routers are using PPM. What will be the content ID field if
1) R1 = mark packet, R2= Mark packet, R3 = Not mark the packet.
2) R1 = Not mark packet, R2= Mark packet, R3 = Not mark the packet.
3) R1 = Not mark packet, R2= Not Mark packet, R3 = mark the packet.
4) R1 = mark packet, R2= Not Mark pa... |
after getting an answer to Security over multi-streaming such as SCTP i have found that i do not have the capacity to give a public key or certificate to the other end securely (to be sure MitM cannot substitute one and that no-one can see it). i do have the capacity to send a 256-bit key securely. both ends are und... |
I have an admin panel on my site, that enables me to control the content on my website. In order for the admin panel to achieve this, I must have a connection to the site's database.
I have two options for setting up my admin panel:
Have the admin panel running on WAMP on my local PC, and SSH to the database on my ser... |
Theoretical question: Is it possible, or will it ever be possible, for an attacker to sniff/intercept it and redirect a packet, sent from a client through wireless, modify it and then sent to the original intended server address with different values?
If so what are the ways to prevent it from happening or protect our... |
The following is a list of ciphers, how to know which ciphers are vulnerable to LogJam attack?
Client shared list of ciphers:
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_RSA_WITH_... |
I am currently studying some Android topics and I've been having difficulties finding answers regarding DDoS attacks.
My question is:
Are Android devices vulnerable to DDoS attacks or does Android provide some kind of protection for this?
I understand that there is very little gain in doing such attacks, but I just wan... |
Background
I have an Android device (Minix M5) that I handed to a customer
The device only does outbound connections, so no inbound traffic
The customer confirmed that s/he opened up the ports necessary for the outbound communication
The customer has however blocked a lot of sites (including google.com)
I rather not g... |
I'm in the scenario that I'm planning a detailed description on "how to securely encrypt files" without putting too much in one Q/A.
So, in a file-encryption scenario, what are the possible ways to authenticate the user?
Please note that I don't want descriptions on how to perform this on a low level, but rather have a... |
I am using a javascript rendering template engine with node.js. I am rendering sensitive user information into a static javascript object which is then served to the client. However I realized if the user saves the the html page and uploads it this could be a vulnerability. Is there any way around this? Could this be m... |
Are there any cryptographic schemes/protocols that would allow me to encrypt a file, make it publicly available, but ensure that it can only be decrypted when a specific condition is not present (I want to ensure for example that a specific software is not installed when the decrypt of that file occurs) ?
I assume it w... |
I want to measure current and future password entropy with the zxcvbn formula.
Is there any way to test and detect if the input on this website is truly confidential?
EDIT:
1. I found an embarrasingly easy solution over at super user. In firefox, when saving page, choose the "complete" option so that js files will b... |
Are the following three statements more or less correct:
To send someone an encrypted email basically entails having access to their public key (either smime or pgp). Thus for all practical purposes you cannot send anyone an encrypted email these days, unless the recipient has previously gone to the trouble of acquir... |
If i am visiting a https Website will my ISP see the IP i am connecting to, or is the destination IP adress somehow hidden because i am using ssl?
|
After an alarming uptick in automotive and household burglaries, Our neighborhood is chatting about installing video cameras on their houses.
I'm looking for research that shows whether or not they work as a deterrent. Does crime leave the neighborhood, just move in-between the lenses, or do criminals ignore them? Wha... |
Normally people think of WiFi authentication as the client proving to the AP that it knows the pre-shared key. But does the AP also prove to the client that it knows the pre-shared key?
Is it fundamentally impossible for a connection to be negotiated in WPA2-PSK if either of the parties doesn't know the pre-shared key,... |
I'm looking for some more information concerning the white paper which goes into some detail over PowerShell's Module logging.
Specifically, once this is enabled, are the default cmdlets logged? For example, Get-Service and so on. Looking over the About_Group_Policy_Settings for PowerShell, a reference is given to th... |
I've just received an email from an old employer. There is very little information in the message sent just:
See attached file for your review.
Kind regards, Mick
with an attachment. I would like to validate the email attachment but I am afraid by clicking on it I will inadvertently download something malicious.
I'v... |
I am working on NIKTO automation. I have a text file contains list of IP addresses along with their ports open. I have already made nikto script.
Script functionality - it takes IP addresses and then run nikto on it.
Question : I want to make intelligent nikto. Problem is that, sometimes single IP does have 80 and 443... |
I have a smart card (not OpenPGP card), and I am preparing to sign an rpm using this card. After signing, I will get two files: my.rpm.sig, and my_id.cer.
How can I sign my rpm using these extra signature and certification file without GPG?
|
By server mistrust, I mean the fully implemented lack of customer plaintext on a vendor's system, and lack of vendor access to customer plaintext.
Specific case in question: Password and SSH key management backups, in which all are AES encrypted before being sent off to the vendor.
Possible threats:
Vendor is compr... |
Recently I'm reading the paper "Triple Handshakes Considered Harmful Breaking and Fixing Authentication over TLS", and I have several questions unclear.
First question: In TLS 1.2 standard, we can see: "Every connection is associated with one session", then does it mean each connection in TLS can only have one session?... |
I wanted to know if maybe it's possible to make a phone communication more secure than the current A5/1 (used for GSM).
Or maybe create a special tunnel between two phones. I mean like an ssh connexion or something like that.
I'm no expert at all but I just know that GSM communications are encrypted but not strong en... |
Suppose $S$ is a set of known websites which are very important. Assume there is an anti-phishing tool company $A$ which is aware of such websites. Can the company A reliably develop an anti-phishing tool just to distinguish the websites of set $S$ from its complement $S'$? In other words is it possible for the anti-ph... |
I am involved in the process of becoming pci-dss compliant. I am really close to get it although I am having this vulnerability on the server when I am doing an external scan.
Does someone know how to solve it?
|
What are the recommended file permissions for %systemroot% in Windows 8.1? I couldn't find hardened file system permissions to apply to better secure a Windows installation.
|
I've read about the differences between capabilities and access control lists, but to me capabilities seem similar to claims. Can anyone explain the difference, if there is one?
|
I have noticed that WordPress doesn't have csrf protection for their admin panel login /wp-admin/. Does it actually posses any potential risk? Is there any possible ways there an attacker could exploit this?
Is it necessary to have csrf tokens for login forms?
|
I always hear about backdoors and I understand the main purpose but I have some questions:
In what kind of software/web application/OS can I find them ?
How can I recognize one ?
How do I prevent them ?
Is the analogy good to compare them to have root access (in a Linux way) ?
Any more relevant information about them.... |
Imagine the following:
Client C wants to communicate with server S. The evil attacker A is the Man-In-The-Middle.
C sends a request to S, A intercepts it. A creates a self-signed certificate with the domain-name of S and sends the certificate to C, while spoofing the Source-IP to the IP of S.
C and A perform the hand... |
note The wikipedia article does not use the big O notation correctly. Thus O(2n) just means 2n attempts
I read on wikipedia (CGA) that finding a collision preimage for a cryptographich hash of length 59 bit it is approximately O(259) in big O notation. However in my eyes it is O(258) as on average we will find the sam... |
For my website's .htaccess I currently have:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
So that when someone visits the page over http they get a 301 and then connect over SSL/TLS. However, this still opens users up to MITM attacks via sslstrip. I noticed that if I go to... |
We have planned to give our web application to a third party vendor,what were the precautionary measures which we need to take care before giving our application to third party vendor?
As the vendor have source access of our web application in order to carry out penetration test there might be application level exploit... |
Is it possible to find the real IP from a header which seems to be changed in order to hide the sender's IP?
|
I stumbled across a huge security vulnerability in a Certificate Authority that is trusted by all modern browsers and computers.
Specifically, I am able to get a valid signed certificate for a domain I don't own. If I had the means to become a Man In The Middle, I would be able to present a perfectly valid ssl certific... |
I'm afraid this is quite a common question, but searching several times through the questions did not prove useful, and I'm really eager of knowledge here :D
I understand that keeping SSH private key well secured (strong passphrase, backup ecc.) is crucial, but I'm wondering about how much having it stolen is dangerous... |
I'm building a website on which I want to make it very easy for users to create pages anonymously and later be able to come back and edit those pages. One way to do so is to give out confidential tickets which are derived from the page ID to those users when they create the page. Later I would be able to derive the pag... |
What are Leap Seconds?
A leap second is a second which is added to Coordinated Universal Time (UTC) in order to synchronize atomic clocks with astronomical time.
The reason we have to add a second every now and then, is that Earth's rotation around its own axis, is gradually slowing down, although very slowly.
Atomic c... |
Sorry if this is posted in the wrong section.
A little about me: I'm going to be a sophomore in the fall at university, my major is Computer Science (Information Assurance). I've been interested in malware/antivirus since the sixth grade. I remember removing the McAfee security software from my family computer and repl... |
I work with reservation management syatems. In the hospitality industry there is the concept of credit card as guarantee. By it when making any kind of reservation you are asked for your credit card info in order to secure the reservation, however you may only be charged, depending on the booking conditions, in the cas... |
I need to scan this picture for steganography as the meta-data suggest there is some concealment. I'm new to this process and don't know which free tool is the most comprehensive.
EDIT:
1. as I suspected stackexchange image upload does a exif clean, the metadata comment read: Getting warmer! Use concealment to uncover... |
My laptop recently died. I've got a replacement, and I've already pulled both hard drives out of the old one and ensured that there's no disc in the DVD drive. As far as I know, that should constitute all of the sensitive data that could possibly be gleaned from my system. Is it now safe to hand the remains over to ... |
Could anyone explain what would be the best approach for this scenario?:
There are 2 separate Service Providers:
System A is a server that works as a rest API for a mobile application.
System B is a website which login is handled with simple and plain cookies.
I have read a lot and Ive found that the most used prot... |
I never trusted and liked CA's and in fact I removed a lot of them from my devices. But now after this question I'm wondering if I should generate my own certificates for the sites I care (e.g, like my bank or github.com) I just feel I can't prolong my trust on CA's any more: they are susceptible to hacking (like any s... |
Does using Reaver crash or bring down a network?
I've googled this and haven't turned up anything. I mean like a home router.
|
If I were to share my ifconfig information from Linux publicly, is there any possible danger associated with this action?
|
I'm making an authentication server that will act as an identity provider for my service. Looking at the typical SAML use case, the service provider will redirect the principal to the identity provider. In my case however, is it ok for the service provider to pass user credentials to the identity provider directly? ... |
Recently Kaspersky released an analysis of Duqu 2.0 and apparently the malware used a True Type Font File to exploit a critical vulnerability (CVE-2011-3402) to "jump directly into Kernel". I haven't been able to find many details on this particular vulnerability, nor on how TTFs can be used for insidious purposes. I w... |
I am thinking of using the this registration flow for my site:
1) User registers by entering email and password.
2) Enter the email and hashed password into my database
3) I then construct an email with my url + jwt (contains e-mail and expires in 1 hour) string as a parameter.
4) User receives email and clicks on lin... |
On almost any website that relates information about cryptography in general there is this common notion that almost all encryption/decryption algorithms should use a key as one of their inputs. The reason behind this is that encryption algorithms that don't use a key are technically useless.
Because of this I cannot ... |
I would like to check if my browsers SSL v3 is enabled or disabled. The concern is, if I know that the SSL v3 is enabled then I will try to disable it and check to see if I am able to visit the websites which only uses SSL v3 or not.
Like how ssllabs say that the browser I use is using TLS 1.2, in the same way I want t... |
Currently I read the paper "A lattice model of secure information flow", but I think this paper is so abstract. Could you please give me an specific example and describe what the secure information flow is in a computer system?
|
We are thinking about using VPN to connect our remote office and the main office and also support developers working from home. To do this, we are planning to purchase 2 CISCO (or similar) routers to connect via IPsec. Our CEO is very much concerned about this setting. He feels that enabling VPN on routers puts our ent... |
Am I right that "minidrivers" which are specific to different national or regional smart cards (eg PIV/CAC, Brazil, Estonia, Sweden, France, etc) are needed for digital signatures (RSA)?
Can the right minidriver be installed automatically upon insertion of a smart card? That is, install multiple mini-drivers on the PC ... |
Is it possible to create a SSL (self-signed) certificate by specifying IP range in the SAN section of OpenSSL conf like this?
IP.1=192.168.0.0/24
|
I would like to switch the security layer of my API from Basic Auth over HTTPS + claims-based infrastructure (w/ claims populated in a delegatinghandler) to a more robust mechanism and support client app authentication. I have a few questions about that.
Scenario:
I have/will have:
- X client applications consuming a... |
In theory, names in X509 certs are defined as:
CHOICE {
teletexString TeletexString (SIZE (1..ub-state-name)),
printableString PrintableString (SIZE (1..ub-state-name)),
universalString UniversalString (SIZE (1..ub-state-name)),
utf8String UTF8String (SIZE (1..ub-state-name)),
bmpString ... |
At my organisation we have a website survey that one of the managers here uses for equality purposes. They designed and implemented the survey in Adobe FormsCentral which is now being retired, so I was asked to create something similar.
I'm going to be creating the survey using ASP.Net MVC, and have been thinking about... |
I have a problem in data leakage prevention: users can copy the documents on SharePoint by take many pictures (using a camera).
Please help me to prevent that user's action.
|
I use my next door WiFi for a small charge as I am unable to install my own broadband connection. I have a 300Mbps WISP router connected with a fixed IP to my next doors router (192.168.0.2).
My WISP router has its own firewall, so was wondering if it would be safe to place my router on the neighbour's DMZ, and would ... |
The Let’s Encrypt management software will:
Automatically prove to the Let’s Encrypt CA that you control the website
Obtain a browser-trusted certificate and set it up on your web server
Keep track of when your certificate is going to expire, and automatically renew it
Help you revoke the certificate if that ever bec... |
Sometimes it can be advantageous to use existing trust relationships in one certification world - X.509 or PGP - to create trust in the other world. At the lowest level I can always take an X.509 cert - say, a self-signed SSL or code signing certificate - and provide a detached signature with my PGP key. Someone who tr... |
We are using Nginx and storing private keys in a file on the server. We would like to move our private keys to an HSM so that SSL keys are stored in the HSM and never leave the HSM. All crypto operations required during SSL termination can be done on the HSM.
After Heartbleed, we have seen a lot of articles suggesting ... |
I noticed that a particular page that is served over HTTPS gets an insecure content warning in both Chrome and Firefox. This seems to be because the page has an anchor with an href property pointing at a plain HTTP site.
Why is it a problem? What kind of exploit can be performed in that situation?
|
In a web application, one way to protect against password guessing attacks is to lock out accounts after a set number of failed logins. This could be done on both source IP address and username.
For example, the following table shows what happens when repeated attempts are detected. The system is set to lock accounts a... |
I'm having a cluster with nodes (let's call them A and B for the sake of example) running identical micro services (1, 2 and 3 - so the application 2 running on node A is called A2). The applications with the same numbers are completely identical.
Each application instance (micro service) is accessible via HTTPS.
I won... |
Say you are conducting a penetration test of an internal network. The internal network comprises of workstations, servers and company and contractor laptops.
In an ideal world, the penetration test would just go ahead, simulating what an attacker would do given access to the local network. However, sometimes it is wise... |
I have a server which has a configured value of AES and HMAC key.
The client also should have the same keys.
When the client sends a request, the server interprets this request and reads the message.
Now when the client has the wrong AES and HMAC keys, the server will still interpret the request from the client but get... |
If I request the Cert from example.com and the server answers with the (legit) certificate from notexample.com, will the browser throw an error?
|
I want to provide users with sub domains on my website.
Users will provide an ip address and the sub domain they want and I will then use a DNS service to redirect to that IP through an A record or CNAME record.
Apart from the obvious risk that the user performs something nefarious with the sub domain (eg. hosting ille... |
I recently helped a new person at our company. We use N-Able to connect to machines, which has prompt/notification turned off by default. I've never considered it extensively, though it crossed my mind in passing. Either way, this particular user was very disquieted by the fact that there was no notification at all, bu... |
I know of a tool called msf-haskell for security but are there others?
Are there any security tools that are written in haskell? other
than the one above
How much use will haskell be in industry, rather than using python or ruby?
Can you write exploits in haskell?
|
Is it the same security level like a VPN DNS wise when using Open DNS crypt servers plus DNS crypt proxy?
I installed both packages in Ubuntu and now unless I have the right IP entry in the network manager for the open DNS crypt servers, I get no connection to the Internet. So I guess this is what the open DNS proxy pa... |
Here is a plan I am thinking about. I haven't seen this proposed, so I thought I would ask about it.
Threat we are guarding against:
A lost or stolen laptop leading to exposure of sensitive information.
Project Description:
Developing a desktop client app to allow traveling users to collect data when not connected to ... |
I used 7zip to encrypt a 200mb archive of my code used a combination of some of 7 possible words and no numbers or caps. So 823543 possible passwords. What is the best free program I can use to recover my password that allows me customize the words it uses.
|
The TLS protocol specifies that a close nofify message should be sent whenever one of the peers wants to close the connection. This prevents a truncation attack that would send a TCP FIN message as if the peer sent it himself.
Therefore, if the connection is closed without receiving the close notify message, it means a... |
I have specified personal digest preferences in my ~/.gnupg/gpg.conf:
personal-digest-preferences SHA512 SHA256 SHA384 SHA224 SHA1
then, I have generated a new key pair. But when I check the preferred algorithms, I see they are at their defaults, instead of my specified preferences:
gpg -a --export "testuser@mydomain.... |
We use GUIDs to internally to identify patients in our system. I'm having a debate with our regulatory people on whether these identifiers can be used in query strings to REST calls.
They are claiming any patient identifier becomes PHI once exposed outside of the system. I'm arguing that in order to map this identifier... |
I have OpenPGP key pairs for two of my email addresses. When I created them, I did not know that it was possible to just add another user id to the first key pair. Then I found out it is possible from the GnuPG documentation.
Is there a way to somehow merge my second key pair into a user id on my first one? I'm not sur... |
Firefox dev tools show that https://www.google.com is using a certificate signed with SHA-1. Why is Google doing this when they are phasing out the certificate themselves?
Shouldn't this only hurt Google's reputation and interests?
|
Context:
I am using this tutorial and trying to understand and implement salted password hashing using Java. After spending some time on this topic, I figured out that the basic idea is to:
Convert the password string to a character array.
Generate a random salt using SecureRandom(or similar).
Hash the password charac... |
I am reading the OWASP page on buffer overflow. It mentions:
buffer overflow can be prevented using higher-level programming languages that are strongly typed and
developer should validate input to prevent unexpected data from being processed, such as of the wrong data type
Can someone give an example when an incorrect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.