instruction stringlengths 24 27.2k |
|---|
I already created a PGP key-pair in Thunderbird Enigmail on Ubuntu. Now I would like to change the key, so it uses preferably Camellia-256 for encryption.
How can I change the preferred algorithm from AES 256 to Camellia-256 in my existing key?
UPDATE:
I want to find out how to add the information that I prefer CAMELLI... |
Hypothetical: a Windows 7 or 8 computer has a self-encrypting hard drive. It is stolen with the power on, but with the Windows lockscreen on. Are there easy off-the-shelf ways to access the data on the drive? All of the password recovery mechanisms I see for Windows 7/8 appear to require a reboot, which would drop the ... |
Can attackers substitute/replace my queries to/from provider? I mean I do HTTP query and its modified on provider-side so query goes modified to a server or reversal situation, when I get modified answer from server by the modifying response on provider-side?
|
Requirement:
In our company Location A uses PGP encryption and sending data over internet.
In Location B, we have to decrypt the file.
Question is what do we require in Location B
Do we need to use the same PGP license or buy new license for decryption?.
Do we require to manage the keys in Location B
Do we need to us... |
I would like to know the best practices to invalidate JWT without hitting db while changing password/logout.
I have the idea below to handle above 2 cases by hitting the user database.
1.Incase of password changes, I check for password(hashed) stored in the user db
2.Incase of logout, I save last-logout time in user ... |
Can we use the same AD server for both PCI VLAN user and Non PCI VLAN users?
How about proxy, we have a Proxy but both PCI and Non PCI user's traffic are flowing through those Proxy.
But we have segmented the VLAN for both PCI and Non PCI users
Is it PCI compliant?
|
I'm writing a software which is divided into two separate stand-alone pieces. One is a service like application that handles all the logics, the other one is a GUI application that just works as a front-end and is aimed to be used by the end user. The service would listen to a port and accept requests from the client (... |
When analysing Kerberos exchange (and other similars as Needham, Denning, etc.) I wonder why the first message where the identities of the client and remote are not encrypted.
In case not encrypted I give a possible attacker the knowledge of who I want to communicate with. As the Client and KDC shares the key we can en... |
I am going through the WebGoat exercises, to refresh my knowledge of XSS attacks.
Specifically, I am doing the Stage 1 XSS exercise. This exercise has a form that deliberately does not sanitize input. The solution video shows using the JavaScript alert function to put out a message and the session cookie.
Stage 3 has a... |
I recently read about how HTTPS work and I have some questions to clarify. Pardon me if this sounds silly but I just need to get this clear. Correct me if I am wrong.
I got to know that as part of the beginning of TLS handshake there is a asymmetric encryption where public key from the Certificate is used to encrypt th... |
Would a site or blog owner know who is reading their site if the visitor is reading it with an RSS reader? Can they get the IP of the person? Say I had a Netvibes account with RSS feeds, can the site owner know which IP or RSS reader is viewing their feeds?
If they have trackers or codes on their site or blog, can they... |
Take a IM app like WhatsApp. If I send a message to another user while their client is offline, the server holds the message and then delivers it when the receiver's client goes online. It even has those two blue ticks, to show that the other user read the message.
Considering an IM app like WhatsApp, would an IM app s... |
Is it possible to determine, given a PGP message that you can already decrypt, to determine which other PGP keys that message has also been encrypted for?
|
I heard that MITM also involves DNS poisoning, which basically tells the Net
to take a different route than it was supposed to go..
(I'm not sure if my interpretation is correct..)
Given there is an MITM attack happening towards my computer, would it be
possible to reverse poison, and cut the MITM out ?
|
Shuffling an array to create a random stream for encryption is well known. The weakness is in the security of the random number generator that performs the shuffling. But is it true or likely that the same array shuffled by two or more imperfect random number generators becomes more secure as it is shuffled by more num... |
A web shop allows customers to order as guest or to create an account.
I ordered as guest, entered my email address and the shipping address, and payed per credit card (I had to enter the security code).
Some weeks later, I ordered something else, again as a guest. To my surprise, after entering my email address and ... |
I am currently working as a technical lead on a project at a financial institution and have a question about how to provide the same level of security expected by the business in an application we are preparing for them.
The legacy system today allows payment operators at a terminal window to interact with an AIX and m... |
I'm working with a vendor who provides an API with a user registration method clearly designed for human-generated passwords. We're calling the API in an offline server-to-server fashion, however, and registering with the API on behalf of our user.
I'm relatively comfortable with the idea of generating our own cryptov... |
Most of the discussions about the BREACH vulnerability are around stealing session-based CSRF tokens. But if you can steal a session-based token, could you also steal the session token itself? Obviously there are some finer points of the BREACH attack which I don't understand :)
I'm specifically interested in Django. I... |
Starting with a one time pad say you want to encrypt some small strings like the words in this sentence but you want to reuse the same OTP key for each string so that when you encounter the same word the ciphered text comes out the same.
But say you modify the OTP algorithm in some way, say by jumping around on an ex... |
I'm planning to implement a web system wherein APIs and presentation for CRUD in data tables are automatically generated, like that in phpMyAdmin. How I plan to implement this is to construct SQL statements based on requests from the client.
Client receives metadata (table, column) information from server.
User intera... |
A lot of sites offer MD5 or SHA sums to verify the validity of your download, but why do some things rely almost entirely on this?
Is there anything in place to prevent people from just replacing the checksum with the malicious binary's checksum?
|
I'm used to writing web stuff in PHP and let Apache or nginx handle the actual HTTP handling and load my code via whatever means (mod_php, fcgi, fpm, ...). I'm under the impression that this is a Good Thing(tm), as there have been years and years of hacking, patching and improving these webservers, so they are "battle... |
There is a website I use at work, external to our own. They have just presented with every employee with their plain text password and username via our internal website which requires our own logins.
I was wondering if this should be viable for a professional company (Either the external website company or my internal ... |
I'm looking for ways to check for the presence of credit-card data and other personally identifiable information in files on a network I'm testing.
Currently i'm doing this manually with the usual tools like grep and some terrible reg-ex but a nice stand-alone application would be ideal. Especially something i can use... |
I'm using android play store to download and update software for my phone. And some times its automatically updated as by settings.The play store is linked to one of my Gmail account.
Here my question is that how can trust that I'm securely communicating to download and upgrade the software of my phone and also assure... |
Let's say I would like to protect my PHP files that are on the public server and are used as a part of the website. Does anyone can easily access these files just like HTML/JS/CSS files through developers tool in the browsers or extensions such as FireBug?
I am guessing that it is not possible through these tools, but ... |
I'm following The Security Tube’s video here.
He overviews buffer overflows, and mentions how memory is executed from highest to lowest in the stack (at least with his implementation I assume). So we pass the memory address of a function that's not called in the program, into a 3 word buffer. We overflow that buffer wi... |
Applications (e.g. Firefox) often include a root ca bundle file containing trusted certificates.
How can I protect those files from malicious agents trying to modify them? I think signing is not an option because they could also replace the public key used for verification.
Is access control the only protection against... |
Is it possible to dump the ram and get an exe and use that ram dump to distribute an app? If so, is this something that is a practical concern and if so how best should a developer protect against it?
I ask because I'm considering encyrypting my app by nesting keys within nested features/widgets. When a feature/widget ... |
I (think I) understand the concept of certificate pinning. However, I'm wondering if, in the worst-case scenario: is certificate pinning any more secure than the hierarchical trust model it is built upon? An example scenario:
I develop a mobile app, which uses secure connections
To encrypt these secure connections, I ... |
I currently have a Macbook Pro running OSX Mavericks, being the skeptic that I am I always wait a bit before upgrading to 'new' OS versions when they are released to see how they fare both stability and usability wise.
A number of privacy issues have been found in OSX Yosemite including but maybe not limited to:
Spotl... |
I'm building a webmail, which must be able to display html emails. But how to prevent xss and similiar attacks, while not loosing html formatting?
In gmail, when I receive some emails from, lets say, twitter, they are nicely formatted. I'm after something like this.
Html5 supports sandbox attribute for iframes, which s... |
I was thinking about this for a while. Say we have an app for which there is an admin console, and we need to provide access to the admin console over the browser (yes, HTTPS).
For authentication, instead of asking for a password, would the following be more secure?
Prepare a set of very uncommon questions of very ver... |
I'm helping my school network administrator to try to find a way to mitigate a current ARP spoofing attack on our wifi network. We detected an unknown host (MAC address seem to change, he is probably using mac-changer or something similar) sending forged ARP into the network.
After some discussion, we agree to use a fr... |
Google gets to know a user's IP when someone enters a captcha even if they are using tor (see http://www.wired.com/2014/12/google-one-click-recaptcha/). So, If I go to a non-google website, such as cnn.com, and it asks me for a captcha for submitting a particular form, will it hand over my IP to cnn?
NOTE:I have only u... |
I can't think of a reason as to why you'd want to create a hidden volume in VeraCrypt. It says because "you may be asked to hand the information," but why would I need to hand it over? Nobody has any proof of what may or may not be in that volume, so they can't claim that I'm doing something unlawful (assuming I was),... |
I am developing a P2P application that will make use of UDP hole punch to connect two peers behind NAT.
When dealing with connections between a cone and a symmetric, unpredictable NATs, however, hole punching is not as trivial as it could be with connections between cone NATs. The only way I found to do that is to just... |
In a Nessus output file, does the Risk Level (e.g. Critical, High, Medium, Low, None) depend on the CVSS score? What relationship, if any, do the Risk Level and CVSS have?
Thank yo
|
While writing server code for resend confirmation page something came to my mind: an attacker could make several requests to /resendemail?user=blah (example URL) and flood such user with registration emails (of course, as long as the user exists and hasn't confirmed their email).
My first idea was to limit request per-... |
I just turned my server off yesterday, after it began to distribute comment spam across the internet, at an astounding rate over 70 "spams"/min, bottom of the line 1/2 gig ram VPS. I'm still trying to figure out how there are doing this, but one possibility is an injected file, injected by MySQL. The reason I'm suspici... |
Over the past years, my team has been asked to conduct audits/reviews for other teams. Most of these audits have been compliance-driven and almost all of them have followed the same format: some group of users have been granted a specific entitlement that some authorizer/supervisor now needs to confirm or revoke.
For e... |
I'm building a system that for reasons I'll outline below, can't used hashed passwords, but I'd still like to encrypt them so that it's as hard as possible to crack them, in the (unlikely) event the DB does get compromised.
Basically, the reason I can't store them hashed is because they aren't authentication details fo... |
(I was told that this was the place to ask this by someone from Webmasters, if I've got it wrong again please give me a chance!)
I'm running a personal proxy service for the use of myself and some of my friends. Currently, in order to circumvent filtering restrictions I've signed up with a free web host to use their su... |
I read that Tor proxy maintains a session key with tor nodes and uses it while encrypting data but why do Tor nodes maintain keys with other tor nodes?
|
I am working in a Virtual Machine that is on a ESXi server on a remote machine. I am not the only one who has access to the ESXi and others could take memory snapshots of my running VM. Is there a way to detect someone trying to take a snapshot, or reading the entire memory?
|
I am currently doing some pentesting for my work (not my job role but i always wanted to learn). I am trying to modify post and get data as it is sent (intercept, tamper), the web app I am trying to modify appears to be some kind of MVC which means I cannot see some of the data unless I am monitoring the traffic (canno... |
I've stumbled upon an exploit method which I haven't really had time to investigate before. XML eXternal Entity is said to be susceptible of a server-side type of injection. I can specify a Document Type Declaration (DOCTYPE) to define the structure of XML. Inside the DOCTYPE I can define entities and assign particular... |
I am currently working on penetration test of a web site that uses an Apache HTTP server. To test a vulnerability which is related to mod_cgi module, I need to know whether this web site uses mod_cgi module of Apache or not? How can I determine this?
|
I am currently working on an application with regard to applying a security policy to the application. We are locking the account after X failed login attempts in Y minute. The account will be locked for Z minutes. I want to know whether the account should be locked if there are successive failed login attempts or that... |
Suppose I want to send a command to a print server on a netwerk that has been secured with Kerberos. To do so, I authenticate myself to the KDC and get a TGT, and then another ticket from the TGS for the print server. I then authenticate myself to the print server and I can then send it a print command, signed with the... |
I have to set up a server that will allow remote logins. Obviously security is an issue. In this first pass we are discussing:-
Locking a person for 15 minutes if they fail to login correctly three times in succession over a five minute period.
Locking them out totally and making them reset their password if they fail... |
I am dealing with user uploads via a PHP application.
I want to secure the server so no exploits are available to the user, such as uploading a php shell and executing it.
I have set it so all uploads are moved outside the webroot into a separate folder.
As an extra security, I have removed all rights except "read" fr... |
I have seen this question asked about a user from Samara,Russia, and when I sifted through all the other occurances,everything everyone else is experiencing matched my experience, except for one thing. The number of visits. In one week the visits to my site from this one user are around 174, all from Samara, or another... |
My business sometimes receives emails from our clients that are sent through a "secure" third-party inbox. The client send the message through this third-party service. The third party creates an inbox for me and stores the message there. The third party then sends me an email at my normal address with a link to access... |
I want to send out SMIME certificates with my emails, and want to deploy the following PKI
Root01 (All EKU, All Constrants, No Restrictions)
PolicyInt01 (Internal applications, not trusted by 3rd parties...)
PolicyExt01 (Name constraints = domain.com, EKU=Message signing)
IssueExt01 (Issues certificates for PolicyE... |
Is there any instance of NIST or other encryption standards using AES-CCM to encrypt/authenticate key data? I would like to use CCM over a keywrap function, but cannot find any precedent for this in cryptography standards.
If by design I guarantee that:
(1) Nonce data will not be reused
(2) The encrypting "transport" ... |
Would preventing buffer overflow attacks prevent Return Oriented Programming (ROP) attacks?
|
I have a VM box configured using NAT to my host OS. It seems I can ping to the machines in my LAN. If my VM box got infected somehow my malware while surfing, would the malware be able to infect machines in my LAN? thanks.
|
Do all non-CA certs have to be End Entity certs?
|
I've learned that SSL certificates can be chained, and the browser will use the issuer's public key to verify the issuer's signature. I have read this article, which has a very helpful diagram, but it doesn't answer my specific question.
SSL Certificate framework 101: How does the browser actually verify the validity o... |
Fred Cohen in 1986 has proved in his Ph.D. thesis the undecidability of viral detection (no perfect virus checker can ever exist).
Does this imply that there exists a totally undetectable virus?
Else is it possible for a malware to stay a very long time (lets say many years or forever) undetected for the antivirus indu... |
I hope someone can help me understand some fundamentals on SSL certificates that I've had trouble picking up from docs, Wikipedia, and just about everywhere else on the internet.
I'm working on an application that communicates with another on a separate network. Each application acts as both a client and a server in bi... |
Suppose I have the public key of a recipient I'd like to send an email to, and I've never sent this person an email before. Does it make sense to encrypt my first email to this recipient and also attach my public key? Can they decrypt my email?
(This is somewhat an "etiquette" sort of question.)
thanks
|
I am currently using KeePassX on Linux to allow me to have a different strong password for each website. With this program there comes two major inconveniences: I lose access to everything in the case of a hard drive failure, and it is difficult to correctly synchronize all of my passwords across all devices (desktop, ... |
Is there a credible scenario in which the OTP (One Time Password) for online credit card transactions ( specifically for Verified by Visa) can be bypassed?
Context: A guy I know was cheated via the usual social engineering routes (dumb I know!) into revealing his Credit Card details & a fraudulent transaction was made... |
After upgrading to Android L on my Nexus 5, I was pleased to find that I can enable encryption using a pattern as the passphrase.
However, it soon got me thinking. I'm guessing the encryption key is ultimately derived from the pattern which is very low entropy. I did a back-of-the-envelope calculation and I found that ... |
According to the OWASP Application Security Verification Standard:
V11.3 Verify that every HTTP response contains a content type header
specifying a safe character set (e.g., UTF-8).
According to the RFC for the application/json Media Type:
JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.
Sinc... |
Wanted to know what DDoS detection devices are currently available in the market.My organisation has its dedicated firewalls and routers.But we wanted to know if there are any devices in the market which can prevent DDoS.We are already in talks with the ISP to see if they can help us on this.But also wanted to know if ... |
I have looked around but couldn't find anyone else with this issue. On my console (standard asus i7 laptop) running Ubuntu 14.04 LTS - I noticed in tcptrack that there are a lot of connections being made to an ip address belonging to Amazon EC2 services. I don't have any connection to amazon at all, and these connectio... |
There are VPN services that are totally free and high speed vpn which makes me think, how can they offer such a service for free without ads nor donations?
Is using this VPN safe?
Regarding my accounts emails/FACEBOOK and regarding my laptop and IPAD info?
|
I'm trying to use a deugger (namely OllyDbg) to analyze some exe files.
However, all the versions I downloaded from the Internet are considered as Trojans by some anti-virus software. (I use www.virustotal.com to scan the binary I downloaded)
Are OllyDbg's main behaviors belong to a kind of Trojan?
Currently, I want to... |
First of all, I'd like to know what exactly a DDoS attack is- my understanding is that it's a collection of infected or "zombie" computers, all controlled by a central computer, with the intent of overloading the website, and making it inaccessible and / or slowing the service down to 90's dial up levels (a.k.a. unusab... |
If I want to use a GUI application with another user (example: webbrowser), I can copy the .Xauthority file to that given user's home then I can "su - user" and start the GUI app.
Question: but what security problems does this bring?
|
So my problem, in its general form, is encrypting test questions such that a client-side testing application can access the questions while students cannot. The naive approach, in my opinion, is to use a symmetric key algorithm, with the key hard-coded within the application, to encrypt and decrypt the questions. The p... |
I need to create my own web application security assessment methodology. Within fingerprinting section I have one test case such as "Checking for load balancing". One part of that test case is to inspect various cookies in order to analyze the load balancing mechanism.
As per my knowledge, I am a aware about few of the... |
When it comes to evaluating a text steganographic approach, I think we have to consider these things:
How unlikely it is for someone to guess that there is a hidden message in the message being sent?
How large a hidden text can be stored in a cover text of fixed size (larger the better)?
How hard is it for someone to ... |
I am trying to create a lab environment where I can analyze common IDS solutions (starting with Snort specifically) and their ability to reassemble fragmented IP trains. I have a collection of malicious pcaps, which when ran with tcpreplay, create events and fire alerts, as expected.
I am trying to find a way to frag... |
I just purchased the book "rootkits: subverting the windows kernel" by Greg Hoglund and James Butler for a research project at work.
However, this book constantly refers to the source code that can be downloaded at rootkit.com, a site that has been taken down apparently after a compromise a few years back.
Anyone any i... |
Is this scenario legal,
A school has a few public computers that can be used. The only browsers that are installed are chrome and internet explorer, and the entire network is man-in-the-middled. Keylogging records are kept by the school as well. This school gets the account details of the student in question, and lo... |
I wonder how hard it it to infect a laptop or netbook in 60 minutes or less in a way the victim cannot easily clean their machine by wiping hard disk drives.
Let's assume the following:
The attacker has physical access to the machine. I.e. they wait until their victim leaves their desk. They know how long their victim... |
Like little red riding hood, you don't know who is knocking on the door... Why even bother accepting a client_id in case of a API <-> Javascript-website or API <-> Android App password grant authentication flow?
|
Ars Technica is reporting on a new attack against HTTPS. Called FREAK, the devices reported as vulnerable include iPhones, Android devices, and Macs running OS X. The attack (as has been clarified below - thank you @bonsaiviking) is that an active MITM can alter the TLS negotiations between the client and the server to... |
Going through Pen Test and it was asked of us to disable auto complete in our CC payment fields.
We tried adding autocomplete=off and also tried false on the input filed. A
ny suggestions to override this 'feature' in IE11 and other browser specific extensions?
|
I have a small personal website hosted through go-daddy. I also have an old machine sitting in my garage collecting dust. I know enough to make my old dumpy machine a Linux server for my tiny website and save a few bucks on hosting. But what are the biggest risks attached to hosting my own site? What should I know/do b... |
I've just found out that all of my websites on one of my server has been hacked. Some seemingly malicious code was injected into all index.php files:
/*EngineWork*/
if(!defined("FDSJERIUI234FSDF")){
@ob_start();
@define("FDSJERIUI234FSDF",1);
@ini_set("display_errors",0);
@error_reporting(0);
echo b... |
ATTACK VECTOR
Monthly hits via a globally DDoS attack. Resolved with Cloudflare.
Attacker can now somehow unmount network drive links and reset MySQL user permissions for applications.
Attack is resolved by simply by issuing these commands:
GRANT ALL PRIVILEGES ON application.* TO application_user;
FLUSH PRIVILEGES;... |
Specific example of mine concerns the probability of collision, where I have two plain texts A and B that I want to hash using MD5.
Given the cryptographic hash function H and the following:
A' = H(A)
B' = H(B)
A'' = H(H(A))
B'' = H(H(B))
is the probability of A'' and B'' colliding higher than that of A' and B'?
|
I am a final year student currently doing my project, the title is "Mitigating man in the middle attacks using ssl+symmetric key algorithm". I would like to create my own encryption algorithm. I need to know that could I write it in C, and how to generate an ssl key and to write an encryption algorithm and then to comb... |
On a server running Ubuntu 14.04.2 I was doing some basic security auditing when I ran the command nmap -p -d 1-65535 as a non-root user. Interestingly it reported a few (1-5 at a time, average, changes each scan) high ports open as "unknown". Taken aback I checked netstat and all the usual things, nothing seemed amiss... |
Somebody on Stackoverflow posted some code from https://www.opensource.apple.com/
When I click this link in Firefox (36.0) it says "This Connection is Untrusted". But other people on that thread on Stackoverflow say they don't have a problem with the link.
But, apparently, some people, besides me, do have a problem wit... |
I was surprised to find out today that condominium, garage etc. access cards can be duplicated and used without being registered with the reader system. Are these RFID cards? Does it mean that store-value cards for transportation can also be duplicated?!
My understanding was that each RFID card has a GUID that is "burn... |
Let's take this CVE for example: http://www.cvedetails.com/cve/CVE-2014-9283/
obtain administrative access via unspecified vectors.
What unspecified vectors means ?
I saw this term in a a lot of CVE.
Does this mean via unspecified factors ? (In the sense that they don't wanna give too much details about it so people... |
I used a web vulnerability scanner to scan my web site. It indicates several links with "Cross domain Java script source file inclusion."
May I know how would an attacker exploit this type of vulnerability, exactly? For example, the JS in question comes from addthis.com (share buttons etc). For this exploit to work, a... |
I am currently testing a RoR web application, but I am honestly at a bit of a loss, I have never gone up against a RoR application before and I was wondering if there were any specific tools I could use to attack this RoR site (I have full permission, all legal).
any tools or tutorials for basic RoR pen testing?
|
I have the task to crack a bunch of passwords like:
$1$V5l3qvml$Q.fDn30gGhjcEIZH8utah/
$1$DcuX.dRK$bR4utyGQ4ET4sobpMMtfo0
$1$WbXWIqFu$Qu1fT/MmTIvSUz4xw4mlI0
$1$8Y7TfkZ5$LnuF99mgFbV1wvQ61dMZB1
I was only told that these were Linux-like encrypted (I have removed the username: from the front, e.g. sBerhhard: and ::1:0:1... |
We have a vendor configured Cisco ASA 5505 running on our network to provide VPN connectivity into their networks. The ASA 5505 was purchased by us but configured by the vendor and we have no administrative access.
During a pen-test, we because aware that this device has port 500 open to the outside world on it. Runnin... |
I'm working on making a silent installer of WinpkFilter driver. In my silent installation, I'm always getting a (not so silent) prompt that says "Windows can't verify the publisher of this driver software".
Rightfully so. The cert expired in 2013 and it's cert path is just itself, which isn't a CA.
So how does the real... |
I am using custom hardware on which i'm using the random noise from an ADC converter and a few other seeds. I combine these in an algorithm and have tested it against FIPS PUB 140-2 for a random number generator. It has passed the test but I'm reading up on RNG attacks and do not fully understand these attacks.
If peop... |
While we wait for patches to address the TLS FREAK vulnerability, is there anything relatively straight forward on the client-side that can be done to mitigate the risk in the meantime?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.