instruction
stringlengths
24
27.2k
I am interested in installing a security camera in my car, but I am worried about an adversary gaining physical access to the camera, and destroying the footage; leaving me with no evidence. Unfortunately, I can't just lock the security camera DVR in a room, like I could with a building. Uploading the data to a server ...
From a security perspective, is visiting via the .onion address more/less secure? I'm using Facebook as an example, but this question is really about any website which has both a 'normal' and a Tor URL.
Is there any virtualbox or vmware appliances or anything like metasploitable that one can use to practice mobile pentest without the real hardware? I can find those for traditional ethernet but what about mobile, especially phone network like 3g/lte and also others like wifi, bluetooth etc. Thanks.
I've been working on a Home Automation system now for a little more than a year and I've added a plugin system to it. I've also added so others can submit their plugins and if I accept them then they're automatically added to every system of mine connected to the internet. Now there's nothing wrong with the plugin syst...
I posted this question (Hacked or Ghost Referers) on Google groups earlier today, but I also wanted to see if the security experts here have any insight into this behavior. I've got a web application that I'm developing locally. The server is run from a local, non-internet connected machine. The computer I access the w...
I ran across this site http://en.quiente.info, my friends tried it and they say it worked for them. It asks for most of the privileges on Facebook even sending messages on behalf of you. Any one has an explanation for his. I didn't try it personally I'm afraid of losing my account.
Randomly I heard a man's voice from our home Mac, "yea, I can hear them" There were no internet windows open. We cover our camera with a sticker, call us paranoid but are we really? NO! Does anyone know how I can find out how, why, where, who is listening in on me?!?!?!?
I have a bunch of servers that need to access somewhat sensitive data (passwords for ftps, api keys, etc). Currently I copy a plaintext file back-and-forth between the servers via ssh and encrypt all the keys based on the server's private ssh key, but I'm looking for a more robust solution that a) other people can do ...
We recieved the following e-mail with from one of the UI developers When we browser site with IP: http://x.x.x.x/, it doesn’t redirect to http://www.our_website_name.com. This could cause duplicate content problems if a search engine indexes site under both its IP and domain name. Can we set redirection from IP ...
Although some of Microsoft's servers are running on Linux, at least half is running Windows Server of some kind. I'm trying to understand how with so many unpatched and unresolved vulnerabilities in Windows Microsoft's websites remain operational and don't get defaced on a regular basis or even on any basis at all. Is ...
Now I assume that everyone knows of aircrack-ng and John The Ripper with it's fantastic ability to pause and resume cracking. With that aside, I want to add Crunch into the mix, however I can't seem to add crunch to it. The plan as goes: Crunch > John OR Aircrack [ If > John, then Crunch > John > Aircrack ] John > Air...
I started making a simple user authentication program just for fun, and I realised I don't know how to keep safe the files that will store all the usernames and passwords. This got me thinking. What is stopping me from viewing sensitive information about the different software installed on my computer. How is this inf...
Can any CA sign any cert for any domain? If the answer is yes, what prevents having two different CAs creating a valid cert for the same domain? Does that mean that the whole TLS security has the same level of security of the least secure CA?
I need to store various private keys for my clients. Given these options, what would be the least prone to brute force attacks: Encrypt the private keys using a separate RSA key (each user get its own key), with its password set to a SHA-512 hash of the users password. Store the private keys in a LUKS volume with its ...
A network I'm working on has only a web proxy (http, https) to communicate outside (mostly used for cache purposes, not whitelist or blacklist support). This requires lot of configuration to all tools to declare proxy, which is quite heavy and restricting in some cases. I was wondering if a transparent proxy could eas...
I am new to work on website handling and here are my questions. 1) How can I ensure that the pages accessing is secure enough for data transmission , sql injection and several other attacks. 2) How can I ensure the page which am working on is the original page? 3) Sometimes I am seeing that my browsers restrict me to ...
Does buying domain privacy make the domain more secure against hijacking? Would it make the domain less secure against losing it, if the registar gets bankrupt? I am afraid that the domain could be seized to pay the debt of the registrar, if buying domain privacy makes the domain to be property of the registar.
Since before mid 2014, my root server was targeted by hackers and recently they gained limited access. I disabled all services once I realized the server has been compromised and started investigating. According to the logs, this was approximately one week after the successful intrusion. I used to host a website for a ...
If you are with your phone out of the house and you have wlan enabled. Your phone is screaming out to world i'm looking for the wlan with the name "yourhomewlanname". If someone has the router equipment, he can easily say he's the router and just throw away the password and route all traffic through his router. This is...
Suppose I am a rogue employee and I want to syphon some sensitive data out of the office and I only have office internet access for this. My office internet access needs to go through a proxy server, called PS for simplicity. Local USB/CDrom drive access has also been disabled. Can I ask if this is possible: Because ...
I was reading up on FireEye and came across this NYTimes article detailing a Skype chat where an image was sent laden with malware: Quote: To gain access to information on the devices..., hackers posed as women on Skype, identified the types of devices the targets were using and sent photos laden with malware. The se...
Is it possible to have multiple Authenticode signatures in an executable? The Digital Signatures tab suggests you can, so I was wondering if, for example, you can sign an executable with Verisign's signature (for Windows), and also a self signed one in the same executable. I've searched the Internet and can find vague ...
Background: I have been trying to find a simple app to document my children's milestones in life. I have been signing up for a couple of free services and trying to evaluate their offerings. I evaluate ease of use, speed, potential cost, etc... but during this process I started to wonder which one of these services ar...
I have to do penetration testing on an OCSP responder. Are there any frameworks for OCSP pentesting? since it does not include any web applications to test, should I only run network penetration tests on an OCSP responder? Is it possible to pentest an OCSP responder in a black box manner?
Occasionally there are reports about eavesdropping via phones which are switched off or in offline (or airplane) mode. People put their phones in the fridge or remove the batteries to prevent such eavesdropping. Have there been proven situations where something like that happened? What phones were used for this? Did th...
It is possible detecting threat by only with file information of a file like file's hash(md5,sha1,sha256, etc), file size, mime type, etc with ClamAV or Comodo AV for linux with shell command? It is markable that here file is absent, only all information of that file is present.
I hope this is the right forum to ask this question. If not, please tell me where to go. From my understanding most cables have an electromagnetic field around them when data passes through them and I think I remember having unexplainable issues with one of my TVs about 12 years ago where, when watching a VHS, I could ...
Why don't very many HTTPS/SSL websites supply identity information in their certs?
I have a case where I need to create recovery accounts and I want to create them so that nobody knows the password to them until/unless necessary. Hence, I thought that I would do it using RSA - when the account is created via code, it will generate a random password for it that is then also encrypted with a public key...
I have a system with a OTP authentication and I need a method to encrypt the main "secret algorithm". In my system each OTP has a pair named "solution" and it is also changing like the OTP. I need to store the algorithm securely. I tried to store pre-generated pairs with hashed solution, but it was too slow and has man...
Hi I looked around on Google and this site for about the last hour and I couldn't find anything that gave a direct answer to my question. I changed the code around in a scanner that I used in the past, I've used other web hosts in the past to create my websites for testing, but this time I wanted to use WordPress for h...
I trying to use SRP algorithm but I have some questions: Is that a good choice to use for registration and authorization SRP algorithm with SSL/TLS? And for all other transmission using just SSL/TLS? I will use C# Sockets for implementation. How to generate g, k, N? Is it safe to use these like app constants? Is that...
We all use Intel architectures these days, in small part because Oracle has totally dropped the ball regarding SPARC CPU development. But with so many now saying that protection against viruses is largely futile, I am wondering if a revival of a different architecture entirely might be a good idea, especially one that ...
I've heard of using Live CDs such as Tails to protect yourself online. Is there a similar setup to this that would work except run a Mac OS? I've done some searching, but have yet to find anything. EDIT: I said setup, not product.
I was watching the video linked below and every time I refresh the page, a file named f.txt is downloaded that contains the following text. Video: https://www.youtube.com/watch?v=enbTb8PizTI Text: document.write('\x3cscript type\x3d\x22text/javascript\x22 src\x3d\x22https://sb.voicefive.com/c2/6035329/rs.js#c1\x3d3\x26...
I'm trying to differentiate between the the three. What is Systems Security? What is Information Security? What's the difference between Systems Security and Information Security? I'm trying to understand the difference between these three security terms. I could not find much that strongly differentiate between the tw...
I am creating a new website for online shopping in .net and was wondering if i have another option beside Forms authentication to validate the users in a safe and secure way (this has been around for a while, haven't we upgraded yet?). Keeping in mind tomorrow if i am extending my services on mobile and other devices ...
I am reading a post about fuzzer in Python, here is the code: # Import the required modulees the script will leverage # This lets us use the functions in the modules instead of writing the code from scratch import sys, socket from time import sleep # set first argument given at CLI to 'target' variable target = sys.ar...
I have Windows 2008 R2 servers which are failing a PCI vulnerability scan because they have RDP enabled (needs to be disabled). I have applied the PCI settings of IISCrypto tool, but I have to leave TLS 1.0 enabled in order not to break RDP. The only "solution" I have been able to find is to not use TLS, but that make...
I am running the Metasploit Framework (v4.10.2) on Kali Linux 1.0.7. Some commands return this weird, misencoded (I think) text instead of what it should be returning. What can I do to fix this? Example:
In other words, while visiting https://www.mybank.com, for example, can I always trust the site as long as I click the padlock in the address bar of my browser and find no problem with the certificate?
I am trying to get a handle on some terms and mechanisms and find out how they relate to each other or how they overlap. Authenticating a theoretical web application and mobile application is the focus. The focus is on the exact difference between token based authentication and cookie based authentication and if/how th...
One of my web application underwent a vulnerability assessment recently, and one of the findings is about cross domain include script. Our web app uses addthis_widget.js from AddThis to bookmark Facebook/Twitter etc. It was recommended that we copy the contents of the script onto our own domain and include it from ther...
Let's say that I'm on a university (or company) network that requires you to install a root certificate to connect to their website. Now let's say that you trust these people but not anybody else. Is there anything to protect you from something being wrong with the certificate of the website with which you connect? For...
Windows UAC: It's annoying. It seems pointless. Should I just disable it? Or in other words - is there actually a real risk of something malicious happening if I do? Is there malware out there that works only if it's disabled? I appreciate it gives a theoretical security, but is it practical? As long as most people k...
I have a theoretical question. There is a public key-system. Person1 wants to privately send a message to person2. From my understanding, person1 is supposed to encrypt their message with public key. What happens if person1 would use their private key for encryption instead? Is the message still private or it can be re...
From my understanding domain validation certificate are verified by receiving an email on some special email addresses on the domain (e.g. postmaster@example.com, admin@example.com) or by sending on the designated email address on the domain name registration record (the information published on WHOIS). Since many emai...
Why don’t « hackers » (or more accurately, « virus maker ») just do repackaging over their malware to by-pass antivirus software? Because it resolves the issue of the virus signature (kind of hash), doesn’t it ? How can anti-virus software detect these kinds of easy modifications?
I have the following use case: I want to write a desktop application that makes use of a third-party API (e.g. Dropbox) This API requires an access_token to be sent to the server with each request. This token gets generated on behalf of the user and my application using an OAuth2 authentication flow, which the user p...
I was renewing my Internet subscription through the online portal of my ISP. What struck me was when I was entering my credit card details, I entered the type of my credit card (MasterCard, Visa, AA, etc), and when I entered the numbers, there was one number that I entered wrong. When I pressed the submit button, the w...
This came up in an IRC discussion on freenode, and now I"m curious. The idea is that someone wants to determine whether or not encryption alone, or compression+encryption (with gpg/pgp being the primary encryption system), provides better 'security' of the files. Since I am not an expert in cryptography or cryptographi...
I wonder why there is a hash signed by private key in the CSR? It does prove that I have the private key that belongs to the public key in the .csr. But who cares whether I actually do possess the private key? The CA doesn´t need this proof for signing the CSR. It just signs the "Subject" data, some metadata and the p...
I hope this question is direct enough for the stackexchange format, my apologies if it is not, please feel free to downvote to close. I'm interested in pursuing a CREST certification, however it looks to be a a chicken and egg problem - without certification it seems unlikely i'll be able to land professional experienc...
Recently, I overheard by chance some technically savvy guys saying that when you accept the terms of service in order to use the "free" WiFi at Starbucks (which you pay for when you buy some coffee), the popup window actually performs an HTTP operation that sends the computer's WiFi MAC address in the URL in an HTTP GE...
When I type example.com without any scheme into the browser bar and press Enter it is interpreted as HTTP://example.com, not HTTPS://example.com. Why? And where are the plans to fix this? (To be clear, I'm talking only about typed/pasted addresses coming from a "lazy" user, not about software-defined actions such as ...
I've been thinking about using client certificates for my web apps, desperately hoping for security-conscious users to put their private key on HSMs so they don't get stolen even if the machine is compromised, and the added benefit of completely forgetting the login page is also nice (the user would be logged in from t...
I have some free time so I'm testing various local vulnerable machines. In one particular lab machine, you first have to gain administration panel, and then use the available "insert" command and write a textual file to the directory. The service in the background is checking is file written. I did find administration ...
Server and client have a pre-shared key K. Assuming that that pre-shared key is safe, so nobody other than server/client can encrypt/decrypt. Client sends a nonce N to server, server then sends back message M in encrypted form AES_CBC_Encrypt(M+N, K, IV) to client. So client can verify if there is a replay attack tryin...
If a website encodes < to &lt; and > becomes &gt;, is it still possible to perform cross site scripting? What would you enclose the script tags in? For example, on one of my sites I can use <script>alert(1)</script> normally, but how can I do the same thing when encoding takes place?
In building a security system, I'm looking to prevent 'man-in-the-middle' attacks in a two-way encryption system, using the following setup: A sends B a message, encrypted with code 1 B sends it back, having been encrypted with 1 and 2 A reverses 1 and sends it to B, upon which B decodes code 2 and receives the message...
Now that we are told that infecting firmware has been done in practice, how exactly does this work?
When I am logged into the Google and prints document.cookie I could see following cookies. My doubt is what all an attacker can do if attacker could steal these cookies of the victim using exploiting some vulnerabilities like XSS? Is this can be considered as privacy breach? (I think they can get browsing history of th...
This is yet another "How is a forgot my password page done right" question. However, it explicitly addresses two implementation options that I have come across recently. The common approaches [1,2] that I know are based on a random token that can only be used once and that has a limited validity: User visits forgot pa...
Alice and Bob are trying to set up a secure conversation, but unknown to them in the middle is Eve, who can intercept and modify all packets sent between them. The communication goes as follows: Alice sends a hello to Bob, and includes some parameters (say, an ephemeral Diffie-Hellman public key) A. Eve intercepts the...
I'd like to have my server APIs only accept requests from my own app, to prevent other "rogue" clients of my service. As i understand it, the way to do this would be with a "client certificate" that the app sends, and that the web server is configured to verify. However, I'm hosting my app in Heroku, and I believe it's...
When creating a key pair using gpg it asks me for an expiration date: $ gpg --gen-key Please specify how long the key should be valid. 0 = key does not expire <n> = key expires in n days <n>w = key expires in n weeks <n>m = key expires in n months <n>y = key expires in n years Why is ...
Ring oscillators can be used in hardware true random number generators (TRNG), and also in physically unclonable functions (PUFs). The designs seem fairly similar: TRNG based on ring oscillators: Ring Oscillator PUF: The idea of a PUF is that it creates the same pre-defined (but seemingly random) response for every c...
So, I've run an unauthenticated Nessus scan against a critical piece of infrastructure as part of a pen-test but I'm getting back some weird stuff and i can't seem to re-create the issue to demonstrate it to the client. The machine i'm testing is a HP-UX machine but Nessus is flagging that a specific share 'backup' can...
I've been looking at the FIDO alliance's U2F specification and there's something which I can't seem to find documented. If I was to use a Yubikey or something similar as part of the authentication when registering for a service on my desktop, how would I then be able to authenticate myself if I wanted to log in on my p...
A Certificate Authority (CA) issues digital certificates to certify the ownership of a public key by the named subject of the certificate. What is the rationale for CAs cross-signing each other (i.e. Y signing Z and Z signing Y)? For example: Let Y, X, Z be different CAs. Z may have the following signing arrangements: ...
If I understand the SPF Record Syntax correctly, any machine with an IP that points to my-domain.com can send email as if it's from my-domain.com if I'm using ptr in my SPF record. Anyone can create a PTR record for his IP(s). Then isn't it a security risk to use ptr in your SPF record? It essentially enables anyone to...
I was reading an Ars Technica article this morning and came across the following towards the end (emphasis mine): Equation Group included six other hashes in different exploits that remain unknown at the moment. They appear to be generated by the SHA1 algorithm. They are: 0044c9bfeaac9a51e77b921e3295dcd91ce3956a 06cf1...
I am implementing Google's reCaptcha in my app. According to the documentation, my API request must include my secret key and the response, and optionally the user's remote ip. For what reasons would I include the remote ip?
I'm currently evaluating different approaches to implement a web application firewall (WAF) in our architecture. We need the WAF due to PCI DSS. I would prefer using a cloud based WAF (e.g. CloudFlare or Incapsula). However I have some concerns if it would comply with PCI. The setup is as follow: Client ---> WAF ---> O...
I realize this is a broad question, but maybe there is a simple answer From my understanding, Streaming media services such as Amazon instant video, Netflix, and others do all decryption client side. What I do not understand is that if this is true, and the videos ever exist in a decrypted state, what prevents users fr...
To allow third party consultants, offshore developers and contractors working on the code, we can expose our Git repository externally. Or we can grant VPN access to the external parties and limit their access by configuring a new group on firewall so they can only access the Git repository in our internal network. Wh...
So let's say we have a production site that requires VPN access to the datacenter. We also have a dev/qa datacenter in a separate datacenter with it's own VPN connection. When we're sitting in the office we have an IPSEC tunnel to the dev/qa datacenter, but we have to connect via VPN into production. So, if we're in th...
I only need 2 things. 1) The user to know that only him (not even then admins) can decrypt his data that rely on my server. He will always provide his key to decrypt data. 2) To be able to provide this service to him for many years to come , with any upcoming changes in client side cryptography methods. Should i go for...
I'm trying to intercept Android application traffic from my Android phone....Basically what worked before was that i had simply installed fiddler proxy on my PC, exported the root certificate (and added it to my android devices CA storage), then i installed cydia's mobile substrate and Android-SSL-TrustKiller because a...
I run a private virtual server on Ubuntu 14.04 and I use Nginx as my http server and/or reverse proxy. I run multiple webapps on this server, most of them are fresh open source projects. UPDATE : The server is a VPS that I rent to a hosting company. Setup will be a subdomain per app. I am wondering what are the vario...
I have done some I.T. contracting for a medium-sized Australian hotel recently. I am concerned about their credit card handling practices. Customers often email their CC number and expiry date in plaintext to the company. Customers also send CC details via a web form over unsecured HTTP from the company website. An a...
I have the string Thisisatest that is encoded as MDQ4MGFhMzRhYTNkYjM1OGIzN2NkZTJhYjZiNjUzMjY= and I am trying to find out what encryption is used here. I think that the encoded string is base64 encoded so I run a base64 decode to take 0480aa34aa3db358b37cde2ab6b65326 but from that point on I don't know how to proceed t...
I wanted to send out a message containing some non-Latin characters on my Android phone. When I tried to change the keyboard input method, a warning came out: ATTENTION This input method may be able to collect all the text that you type, including personal data like passwords and credit card numbers. It comes fr...
My wifi is used by many people so I have no proper solution against them. I can see their mac address. I want them to stop using my wifi.
I have a website which users register an account. On the registration field, the form fields are: Name Email Confirm email Username But there is no password field. When they hit submit, they are emailed a password which is very complex, such as LHJVjhwnv%uu5 or RbWM9!jeDZUQb. I have appealed to my developer to instea...
I'm implementing social login with Facebook, Twitter and Google+ on our OAuth2-secured REST API (secured using spring-security-oauth). I'd like to make sure that the following flow is secure and that I'm not introducing any security holes. Overview There's a REST API and three types of client applications: web, iOS and...
I reached the end of the internet with no success, so now I turn to you guys. What I'm after is a way to implement four eyes principle on the OS level for certain commands in Linux. Example : The admin group has 10 members. The reboot command should not be allowed to be performed by any one admin alone, but should requ...
Sorry if this is a duplicate however I felt it was a little more unique than the answers I found. Basically I am a software developer and I have moved recently into an architecture role. Throughout my short career I have worked with PCI auditors etc and found PCI a little off track for what I need so I want to focus on...
I've been hearing that your computer could get infected when you visit porn sites, especially when watching videos. But how exactly do viruses get on client side? Is it by cache? Or maybe by exploiting flash player/browser vulnerabilities? Could you give an example? How likely is to get infected such way? Later Edit: @...
My Gmail account has just been cracked and many of my contacts are receiving fake emails, claiming that I'm in troubles and requesting money. Searching for advice, using Google, about what actions are to be undertaken, I've found stereotyped and generic suggestions about "good habits", and developed a feeling for them....
I am using Windows Server 2012 in which I have shared internet through NAT to a secondary LAN card using routing and remote service. The problem is that when my clients are browsing through proxy 10.0.0.1:3128 everything goes right, but when they remove this proxy from Internet Options then they are able to browse the...
I read from wiki: The attacker has access to both the hashed password and the salt, so when running the dictionary attack, the attacker can simply use the known salt when attempting to crack the password. I have two questions: Should the attacker not get the hashed (password + salt) instead? Is it true that the at...
I want to secure my root server (further) service by service, starting with the SMTP service (Postfix MTA) as the most busy one. I the course of setting everything up, I read a lot about security and encryption and tried my best to gather the most valuable pieces of information. However, some issues seem to remain and ...
So I purchase a certificate from DigiCert. The process goes like this: Generate private key and CSR on web server. Submit CSR to DigiCert. Get a signed certificate back as well as their root certificate and intermediate certificate (CA-BUNDLE). Upload the certificate and CA-BUNDLE to the webserver via cPanel, Plesk, ...
I'm preparing to document a 3 tier PKI (with multiple second level policy CAs) and want to create a document that is useful, technical, and not too overwhelming to the non-PKI expert. I suppose the audience could be broken up into the following roles People who request certificates Administrators who approve certific...
What are the best practices for network security for an internal development environment. Besides adhering to updates, antivirus, and firewall. For instance, is it recommended to use an IDS/IPS like Snort? Should you be whitelisting outgoing ports? Developers often needs access to a variety of resources, especially fo...
I have recently started using pgp and am still in the infancy stages with knowledge. i sent a friend an encrypted message using pgp4usb. a few days later they responded, with relevant info, being able to read and decrypt my message. by this point i actually couldnt remember exactly what id said to them so i wanted to...
If I was to do a web app test on a companies site and I didn't spot something and the company was breached via the app I tested what come back could I possibly have ? How could I protect myself legally ?
I am trying to provide compatibility between an existing SAML token system with JWT token schema. The current system generates SAML tokens with a structure as follows: Is it even valid to have more than one in a SAML token and if yes what would be the JWT representation for the below <?xml version="1.0" encoding="UTF-8...
It's a common practice online that instead of writing your email as someone@example.com people will instead write it as someone AT example.com in an attempt to make it harder for web scrapers to find your email address on a web site. Is this even that effective anymore? I would imagine anyone scraping the web for email...