instruction
stringlengths
24
27.2k
As we know Google DNS server (8.8.8.8) in 14th and 15th March was hijacked in Sao Paulo. And subsequent to this event, BGPmon.org announced an alert. Now, In a course assignment, we are asked to find AS number of the attacker. I for this question have downloaded related dump files from routeviews.org and found this re...
Would appreciate your opinion on the options explored: a- Launch app and ask for a verification code that was sent to user email? b- Launch app by clicking deep link + verification code in the email and confirm to user their email has been verified Q1-From a information security point of what are advantages and disad...
I am wondering what are the risks of a compromised Wordpress Admin account. Can the Wordpress Admin user cause any risk to the platform running the wordpress? For example, can the admin gain access to OS or database? If on the same platform, other applications are being run, can the compromised admin cause any issue t...
windows 8.1 Im not very computer savvy i was wondering if someone could help me out with this. So I downloaded an exe file then ran it as administrator. It turns out it was a virus. Yeah I'm a genius. File is called Extractor__8680_i1435468059_il22 Shortly afterwards BITSADMIN tool came up in command prompt all on its...
I'm interested in obtaining a .onion TLD in my SAN name from a public CA. Which Public CAs support .onion TLDs and what is the validation process like (e.g. Whois isn't available for Tor) Update: Although DigiCert is issuing .onion certificates for Facebook, they have not made a process available to the masses for such...
Installing a MS Windows based system that is to handle various sensitive data (accounting, personnel etc.). Somewhat to my surprise it consistently want to put everything under c:\Users\Public\ where it is going to store reports, SQL databases, documents and so on. Is this a poor choice of location for such data? Be...
Is Snort a good choice for monitoring network and web application traffic on Amazon EC2? If not, why and what IDS would you suggest? Is Snort a good choice to monitor for XSS, Sql Injection, attempt to brute force accounts and enumerate users, and detect DDoS against the web app? Snort can be installed on the Linux ba...
I own some mice and keyboards for example my logitech G400 mouse and my razer deathstalker keyboard. Both of those devices have as far as i know built in memories to save DPI settings macros so on and so forth. Now i have read somewhere some time ago that at some german hacker meeting a guy managed to save a keylogger ...
Can someone recommend me the best design to use to navigate out of the site. Here are the steps to navigate out of the current site. 1)Show the intermediate page warning the user that, they will be navigating out of this site. 2)Also explain them that, navigating out will logoff from the current session. 3)New site sh...
In addiition to the solution options in the other threads How to prevent BadUSB attacks on Linux desktop? https://security.stackexchange.com/questions/77072/protecting-against-bad-usb-in-ubuntu i wanted to ask if it is possible in ubuntu somehow to monitor all adapters HID devices USB devices and soon and so forth (i g...
The other day, I participated in a discussion on Meta Stack Overflow about what to do when a user publishes credentials (usually inadvertently) to a Stack Exchange post. (GitHub and other sites have similar problems.) I realized after posting my thoughts that it seems quite cynical for me to always assume that the cred...
I have a question about ISO/IEC 15408 standard: I want know if the level of evaluation is higher we can conclude that a product is safer? i.e, if we have two products, is the one which has a higher EAL by definition safer?
I was in a retail store today, and these people were discussing how easy it is for people to use stolen credit cards, and buy those visa gift cards without being traced after they purchase the gift cards. I find this very hard to believe because A) when you purchase a visa gift card they send the gift card number to th...
My car was broken into recently and its left me feeling uneasy about my security. I live in an apartment complex that is getting repaired so the traffic is heavy in and out of the building daily. The main door to my apartment is secured by deadbolt and a door knob lock only. Recently, the key to the deadbolt has not be...
I administrate a public server that receives about a 100 csh HTTP shell shock per day from different sources. It is an HTTP GET Method that that requests the /cgi-bin/authLogin.cgi URI. Knowing that the requested URI does not exist in my server is it normal to receive much attack attempts from the internet ? Does tha...
i have a question that was hard to google, so excuse me for asking it here. Suppesed Alice wants to run a Blog securely. She wants to blog about something she is interested in, but she does not want her Identity to be revealed, because she mabe blogs about world politics, cryptography etc. So she could use WordPress o...
Considering a site that handles large POST data, would it be unreasonable and dangerous to set the php.ini max_input_vars to something like 100000? I know this is a vector for DOS attacks, but don't other configurations such as post_max_size help to prevent that? Are there any ways to safeguard against hash collisions...
I need to import a certificate into a Cisco Ironport for Web SSL inspection. The only input format supported is PEM. Based on my research the PEM format does support all certificates in the chain, however I'm unsure how to convert a DER/CER/P7b into PEM that includes the chain. I've been using the following OpenSSL co...
Referencing reasons given in this question https://stackoverflow.com/questions/18655334/avoid-sign-in-after-confirmation-link-click-using-devise-gem Devise does not allow the immediate sign-in of a user that has clicked their confirmation email, the idea being that maybe a malicious user has access to their email, or...
I've just started reading about SSH and how it's used for authentication. From this website, it says: The private key is able to generate signatures. A signature created using your private key cannot be forged by anybody who does not have that key; but anybody who has your public key can verify that a particular signa...
I'm a security newbie so please excuse the solely high level symptomatic description of my problem. My friend doesn't know how he got it, but he has some form of malware on his mac which, when he opens a URL, spontaneously opens an additional URL in a new tab. This occurs across all browsers so I'm guessing the malware...
I was looking at the features of the Asus RT-N66U router and noticed the built-in VPN feature. I am currently running an OpenVPN server on an ESXi VM, but I was wondering: would using the VPN feature on a router be more secure? After all, this way you wouldn't have to do any kind of port forwarding to the internal netw...
I have a YubiKey NEO which has a lot of amazing capabilities such as OTP, U2F, and PGP smart card for PGP/GPG and even SSH keys. One of the applications I've discovered recently for the device is a PIV applet which you can use to securely store a SSL certificate's private RSA key. I find this pretty fascinating, as it ...
I'm assuming it is possible for an attacker to bypass the Linux kernel to make changes to system memory, hard drives etc.
I want to fully encrypt a disk on Windows 7, but I don't trust Bitlocker and Truecrypt has announced it is not safe (also many rumours about NSA being able to decrypt it and it's better to avoid it). So what can I use? Open source is better, and what is the most secure encryption combination today? I see many people st...
would just like to have a check on the password protection/encryption of MS office 2007 and above. It is said that its not that easy to crack the password protection except by brute force, since 2007 and above version of office use AES128bit encryption. Is this true till now, as in have you come across any cracking too...
I know that files can be infected, but can a Folder itself have a virus/trojan?
I have a small OpenWRT router, on which I wish to run a daemon which is a python script. However, even though it is open-source and plain Python, I still don't trust it and I would like to isolate it from the rest of the system as much as possible. It has to do the following: Bind and listen on a single TCP port Read/...
In many "big box" stores like Walmart, Home Depot, etc. I see many store computers just sitting empty. A black hat could install a payload on one of these computers, and potentially wreak havoc on the company. Why do stores have these out in the open, when they seem so insecure?
I plan on adding an authentication system on my android app using web services. When my app calls the server using a POST call how can i secure the client can't find the URL and try to do his own posts and use this against my server?
I was reading Police suspect fraud took most of Mt. Gox's missing bitcoins, and its effectively claiming the missing 650,000 bitcoins vanished: Of the 650,000 bitcoins unaccounted for -- worth about US$208 million today -- only about 7,000 appear to have been purloined by hackers, the newspaper reported on New Yea...
This questions is somehow connected to this other one, where I asked whether it was better to have a dedicated VPN machine or to use the built-in VPN feature of the router when connecting from an external network to my home network. Regardless of what approach is chosen, does it make sense to use a VPN when you are on ...
I have Reaver 1.4 on Ubuntu 14.10 with a Realtek RTL8187SE B/G adapter and it takes almost 5-10 minutes to get from 0.01% to 0.02%. I always have my TX-Power at 30 when I use Reaver, the network is strong, and I run Airodump-ng with Reaver so I can see if I can still catch the network, and it always has lots of Beacons...
I am designing a service that would, among other things, store sensitive information. To ensure no unauthorized access of this information, it would be encrypted with a key derived from their password (PBKDF2). The password will be stored in a BCrypt hashed + salted format in the database. It is never stored in plain t...
This post shows that the device pin is stored in the clear, which presents a major weakness in device security. Can I just delete the file? Or is there a better way to protect my device? It appears the original post refers to Consumer Knox (as @Flash posted) but the problem still remains: How do I protect myself approp...
My company is currently processing less than 4000 Credit Card transactions a year and we are a level 4 organization. I see that we are storing the credit card data in one of our databases but the PAN number is encrypted. After proposing either Tokenization or iFrame model to be implemented to reduce our PCI compliance ...
I know that with SSL/TLS, man in the middle attacks are not possible. For example if Alice and Bob are trying to communicate and Trudy is trying to perform a man in the middle attack, then when Alice gets the public key from Bob (but really it is Trudy tricking Alice), the public key will not match with the certificate...
Today I was infected by CoinVault, a new malware similar to CryptoLocker I believe. Before today I was unaware of this entire type of malware. Fortunately I was protected by offline backups, but I have been thinking very hard about how to prevent this kind of thing from happening again, and am not sure I am satisfie...
I just started to learn something about portscanning with nmap. when i try to run an a nullscan or any other type on a virtual machine (win7 no firewall) the scan needs a lot of time to perform: sebi@sebi-UX31A:~$ sudo nmap -sN 192.168.1.109 Starting Nmap 6.40 ( http://nmap.org ) at 2015-01-01 22:07 CET Nmap scan repo...
In my application, the human user accepts the server's X.509 certificate, verifying the fingerprint during the first-time connection. The fingerprint is stored in the client software. At later connections, only that particular certificate is accepted by the client. If the server renews own certificate, the fingerprint ...
As a Web Developer I recently realised my understanding of HTTPS is poor and am currently endeavouring to better understand it. After some initial reading I'm left a bit puzzled as to why initially asymmetric private/public key cryptography is used but only as a means to exchange a symmetric key. Why do the client and...
Cisco Security introduced open source application detection and control mechanism which called "OpenAppID". Which can be checked in the link Lets say I have a sniffer application for myself; if I implement lua base binding as snort do, can I use OpenAppID as well for application classification. Or "OpenAppID" is just ...
Does anyone have an idea of what kind of public-key technologies are used in the bank perimeter ? Does banking card embedded x509 certificate ? OpenPGP ? Perhaps a standard exists or a de-facto standard.
I have windows 7 64bit installed on my computer (NTFS). I wish to hide this installation and create a "decoy" windows 7: When the computer boots up, it will boot to this new "decoy" win 7. If, on the other hand, when the computer boot up, I will insert a USB driver with a loader - it will load up a password screen in w...
What are good ways to prevent distributed brute force attacks on my website? I think (not sure. if someone can assure me, thanks!) my site is secure against normal brute force attacks as I am using following pattern to throttle continuous login attempts for a single username: X = Failed Login Attempts Y = Time, since t...
I have a domain resembling the following from EC2: http://ec2-55-55-55-555.us-east-2.compute.amazonaws.com/ How problematic is it to publish this to the public with regards to security?
I have been in kind of jinx as to how a website decides on which password is highly vulnerable , strong etc . Lately my yahoo account was told to change password which I am using for long time as the website feels its vulnerable . I need to know how they measure up to this .
I have two pictures: st_original.png and st_secret_key_container.png . The second picture is the same as the first but contains a secret which is the MD5 checksum of some key I'll need to decrypt a small amount of text (the background is black in the second one). I know this might be unwelcome here but it is a univers...
Does anyone know how tight is surespot encryption? .. Does this the government a really hard time decrypting messages or is it simple like they would get it right away. .. Like imagine I was resisting a dictatorial government or something. If it is not what kind of instant messaging services would be good for this purp...
I asked this question on StackOverflow but got no answers so I thought that I would try my luck here since fuzzing is closely related to security and often used in vulnerability assessment tests. I'm currently writing a fuzzer that will generate a payload based on a custom specification format. All is fine and I'm happ...
My question focuses on the differences regarding PKCS11 implementation between a .Net and a Java smartcard. More generally, do smartcard use a specific "OS" (or firmware) and only differ in the middleware / application layer ? Is it easy to format and switch between both middleware ?
The Pirate Bay will be relaunched as the timer indicates (see http://thepiratebay.se/) But on the bottom of the site is a "secret" message. What does this message mean? It's written in this image: http://thepiratebay.se/aes.png Update: The timer expired, so here is a screenshot how the site looked like:
I'm building a web service to access patient data within our EMR and would like to subscribe to RESTful design principles. However, the idea of including the patient MRN in a GET request makes me uneasy. I was thinking about just being "RESTfulesque" and relying exclusively on POSTS so that the MRN could be included wi...
Imagine a web application is on an active directory domain A, and the internal Intranet application is on domain B. There is a SQL server on domain A, and we can use Windows Authentication for the web app to authenticate against the SQL server. However, now the Intranet application being on a different domain must use ...
i'm developing an application with Socket.IO that needs to authenticate if user can join a room. Client side: var socket = io('http://<?php echo $_SERVER['HTTP_HOST'];?>:3000'); socket.on('connect', function() { var req = [current_user_id,secret_hash]; socket.emit('join', req); }); Server listens on join reque...
Assuming a global, resourceful man in the middle, is it possible to Securely communicate (I don't mean storing encrypted data off site) completely establishing and sending messages over the internet (no pre-installed keys) relying on some technology other than security through obscurity? (So, keys shipped with softwar...
I understand that Chrome uses the OS's password storage mechanism to protect passwords on your computer. 1 I also understand that these passwords can be (in my case, are) protected with a passphrase of my choosing, for syncing them in the cloud. Are my passwords safe when I'm logged out of my local Linux / Windows acc...
Consider you have a suspicious pdf file that might contain malware. Would it be sufficient to either: open the pdf file in a virtual environment and let the pdf viewer or pdf-creator program "print-to-file" a new clean pdf file from the original one? use a program to extract only the text from the contaminated file an...
I am working on a medical device. I want to FDA certification for it. The device is having ePHI (protected health information). So is it mandatory to have HIPAA compliance for FDA approval?
I wish to reduce the barrier of entry to a more secure method of generating/storing passwords. The main stumbling block for anyone I have spoken to, or tried to convince to switch to a password database is not necessarily complexity, but perceived complexity. I have so far convinced some people to avoid re-using passwo...
I use my university internet network and all incoming connection is blocked on every port.(they use netasq firewall) They have no other restrictions which stops me from using a torrent client. Using torrent is NOT against university network policy but they restrict all incoming port just for security reasons. Is there ...
According to what I know ,Overlay is the part of PE file that is not covered by the PE header and therefore isn't part of the virtual image in the Loaded PE. My question is if the overlay is not loaded along with all other code of the PE (sections) in the memory,How do overlay viruses execute?Do they read the file f...
I was wondering if an adversary have your private gpg key but not the password/phrase, how easy/difficult would it be to crack a encrypted file compared to a encryption that only use password and not keys? (assuming that the password was the same). would a compromised keyfile make it easier to crack the encryption, th...
I currently use LastPass for all of my password generation and management. After reading Diceware, I realized that LastPass' password generator might be insecure, as somebody could potentially attempt to generate the same password I did. I'm cautious about posting their code on this website, but from inspecting their ...
can somebody explain to me if for example i use Server certificate, with 2048bit keys and client certificate with only 512bit strength, does this use in any way affect the security of the established SSL? Why i'm asking is because using client certificate requires RSA decryption in ssl handshake and on embedded ARM5 de...
Every day I ssh in to 3 or 4 independent Unix accounts. I have been regarding them as more or less "equivalently secure" on the grounds that I'm using ssh, but after learning of how much variety there is out there in password-hashing schemes and their resistance against dictionary attacks I've become a lot more intere...
When creating an account to the game League of Legends, the user's password must comply to a few rules. The one I'm concerned about is the "Must not contain slashes or spaces" one. The others are sane password requirements (well, except the maximum length), but disallowing slashes or spaces seems weird. I can't come u...
I have my own CA. I want to distribute S/MIME certificates for 10 different users. I saw S/MIME keyservers from http://wiki.cacert.org/KeyServers, but I don't want to use public servers. What is the best way in your opinion? Deliver manually all certs as a zip or p7b file in 10 CDs to users; or Create my own key serve...
I serched in the web for some more details and didn't find anything useful. May heartbleed attack be applied on the ssl protocol ? If not , why it hasnt the same security hole for heastbleed aa the Tls has?
When setting up secure server, it is suggested not to use self-signed certs and instead to be signed by a CA. Of course, post-Snowden we now know that there may be problems with CA's that could allow MITM attacks. My question then is if a domain is setup with proper DNSSEC, is it immune from does this mitigate the ty...
I am learning about stack buffer overflow. A little info about my target: A x86 little endian intel-based computer, with a target compiled with TCC Compiler with no protections of any kind running on Windows XP. I have success when I sent a shellcode of ~15 bytes to attack my own TCP home server. (Designed by myself). ...
I am designing a RESTful API in python. I want to use HMAC authentication. I could not find any suitable HMAC libraries, so I am rolling my own. However I want to use a well-known standard such as AWS HMAC authentication v4. While coding an AWS-compliant client and server HMAC auth implementation, I noticed some uncomm...
There's several places in my ‘personal security infrastructure’ (is there a better phrase for that?) where I find myself typing very important passwords into text-fields on OS X (for instance, dis-encrypting and mounting thumbdrives containing very sensitive data.) I'm (perhaps unreasonably) afraid of keyloggers, as th...
I am trying to protect the data by using AES to encrypt all PII data before it is saved to database, and I think the general mechanism is something like below. (This is what I think, not necessary correct) User input data -> html sends data to web service via https -> web service encrypts the data using private key tha...
I have an Apache server which hosts a public website and an internal website. However, since Apache denotes virtual hosts based on the Host HTTP header, couldn't someone on the Internet request my server's IP with the Host header set to its internal name/IP?
Are there any kind of drive by download attacks (in Java maybe) that does not require any user interaction? When you make a drive by download in Java in general a popup appears to ask some permission to the user (example of permission). So is this attack exist without any user interaction process?
I'd like to encrypt some master passwords that I want to store with added security outside of KeePass, instead as just a normal record in the database. I was considering storing these passwords in an encrypted RAR file, but now I think that could not be a very good idea since it could be possible that there is some bug...
I heard that a service I'm using on the web has some problems with denial of service -attacks. I was wondering if it is theoretically possible to build a web-services where user can send data and which is immune to DOSes?
Our children use both iPhones and Motorola phones. We get worn down by the fights about "confiscating" the phones, and want to be able to block access to the Internet on a device-by-device basis when we need to. Is there a router or other device/configuration that can control access on such a basis?
I'm using a VPN mainly as a way of limiting access to my servers as it has a static IP address. Is it bad practise to use a domain name to access my VPN? That is, is it fine to use vpn.example.com, or should I access it using the IP address?
I need to come up with digital proof that two physical devices are in the same (approximate) location whenever that transaction occurs. This could be: A digital ID and the authenticator A consumer and a merchant A digital key for a door, and a lock Is there any way to prove that the devices are in the same location? ...
My home / home-office network uses OpenDNS as a content filter. As the OpenDNS admin, I received a "User wants access to..." email indicating that someone tried to access a blocked site and requested that it be un-blocked. The user's name and email address were unfamiliar to me. However, after studying the time of the ...
I know if I use Tor and maybe made a tweet, it gives the government a really tough time tracing the originator. But what if like a police car was directly outside my home for instance. Is it still difficult or straightforward to know what I'm doing now? So I mean me being directly monitored is Tor still a good option? ...
What is the preferred or recommended way to pursue contestant time compares when array lengths are not equal? Should we exit as early as possible? Something like: if (array1.size() != array2.size()) { return NOT_EQUAL; } int accum = 0; for(int i = 0; i < array1.size(); i++) { accum |= array1[i] ^ array2[i]; } ...
I have been trying to find an answer to this but the search terms seem to be to ambiguous. I am attempting to determine from a strategic standpoint how intelligent it is to use reaver. From a speed standpoint it seems to be infinitely quicker than Aircrack assuming that the WPS exploit is available. From a visibliti...
I am currently analyzing one job portal web application in which there is an open redirect vulnerability. Vulnerability description is as follows: Request type: GET Vulnerable Parameter: dest Secondary Parameter: passrx If I follow full method to exploit this vulnerability, then vulnerability will be exploited success...
Let's assume that I unwittingly connect to a malicious WiFi network and visit some websites. By malicious, I mean the network has been set up for the purpose of stealing data. From what I've read, using https:// is safe. Is this true for networks set up for malicious purposes? If I visit websites where I'm already log...
A friend told me a few months ago about an audit where he discovered root logins were enabled via SSH. This obviously ended up on the report, but when questioned the admin told him that he had set up SSHD to allow root login attempts, but not actually check them, and just claiming the password is wrong, as a kind of ho...
There is this one website that won't let me connect from my PCs connected to the same router. I tried turning off the router, wait 15 minutes, restart it to make sure it gets a different ip address from my ISP. I also tried TOR browser and ZenMate chrome extension that ensures my traffic goes through one of their serve...
Can anyone tell me the different versions of SSL and TLS? Someone says that SSL 1.0 was never released or never exist and other says that SSL 3.0 = TLS 1.0? Can anyone please clarify? Actually I am trying to enable TLS on my server(Apple APNS recommendation) but worried which version should I enable?
I am aware of tools which write zeros or other useless data to fill up your harddrive, however so far all of the tools I have come across must fill up the entire harddrrive. My understanding of the tools filling up the hard drive is so that when forensics attempt to recover, they only get the zero/useless data. I am wo...
A few days ago my website was hacked. I found out that the 'hacker' ran queries directly into the database, so he somehow got access to my database credentials. I'm using laravel 4 and the config file is stored outside the public_html folder into a .env.production.php file and it looks like this: <?php return array( ...
I'm working on a project that requires PCI protected data (card PIN numbers) to be made visible to customers, via a Third Party (a non PCI compliant) company site. The hierarchy is as follows: Us > PCI Complaint > Platform Provider Third-party > Not PCI Complaint > Our Customer Customer > Card User > Third Party Cust...
I want to decrypt file encrypted in openssl in java. File is encrypted with private key using openssl and on java side i want to decrypt it using public key. The code: public void testRSA() throws InvalidKeySpecException, NoSuchAlgorithmException, IOException, IllegalBlockSizeException, InvalidKeyException, BadPadding...
I am trying to implement a system where a client can download application packages from a server to install/update them on the client. I suppose that the client is something like a platform on an embedded system. For integrity of the application packages, I am considering using a digital signature. I did some research...
I have to synchronise small sets of data between two or more systems over an insecure network. First I have to check that the other system has the same unique identification information for the data set, but without giving away the identification data if it doesn't. The unique identification strings are between 12 and ...
I'm working on building a web application using the microservice architecture pattern in a set of docker containers and I'm wondering about the importance of securing the communication between the application and the microservices. The application and microservices will be linked together in a cluster using the --link ...
To avoid having the user to login every time his session expires, I want to implement a token based authentication system. My scheme works like this: Send the user login (send name + password) via $.ajax() to a https URI Create a token via $token = bin2hex(openssl_random_pseudo_bytes(16)); Save $token, userid and da...
As I understand it, if Alice and Bob wants to communicate securely, they must first agree on the protocols that will be used. Then they must confirm that they are indeed communicating with each other. This is done via certificates signed by some trusted third party. The public key and hashing algorithm used by the thir...
I have received a report from a client that lists XSS vulnerabilities. The report shows reflected XSS vulnerabilities. In each vulnerability, the payload reflected is a single, unclosed <qss> Normally, when I read about xss vulnerabilities I see a lot of payloads that will try to close an apostraphe or an input tag, an...