instruction
stringlengths
24
27.2k
I have a database which has stored procedures which take plaintext passwords. It hashes them and inserts them into the DB. If an attacker has access to the DB connection, it is possible to intercept calls to the DB using SQL Server Profiler and see the passed in plaintext passwords. I understand that SSL will encrypt n...
With the massive Sony leaks (including their private keys/certificate), i was wondering: How do major AVs deal with signed binaries? ie: Does it influence their detecting ability of the signed malware? If so, how? For example: Do they check CRLs and get the binaries with revoked certificates under stronger scrutiny? D...
There's this "change password" ASP.NET form that has both event validation and viewstate enabled. There are no specific anti-csrf tokens. From I understanding, in order to execute a successful CSRF attack, an attacker will have to be able to get both viewstate value and event validation value. If that is the case, is t...
Can rfc6238 be used for transaction signing by concatenating the random seed string with transaction details (such as amount and target account number) ? Could a transaction authorization 8-cipher OTP be generated offline using these transaction details?
We have a web application for which I've been asked to add the ability to let users upload documents that will then be visible and downloadable by other users. Those documents will typically be images and audit documents that will initially be in PDF format but may extend to other office formats in the future. Each use...
Was looking at cryptocurrency and how, as a non techy, to get involved when I began thinking about the security of it being developed to undermine the stranglehold bankers have on economy and the unfettered misuse of currency by governments. Very good. I applaud the theory and effort to overcome inequality. If somethi...
I was checking the weekend logs of my IIS server and noticed a strange request which was blocked: http://www.mysite.com/Scripts,j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c I have chec...
Little background: I forgot one of my CCTV accounts password, so used the admin account to create a new one. However I can't access the old one as it's not possible to change a user account password, even with the admin account (Via the interface at least) (And I'd like to either delete the account, or get access to it...
I have recently received an attack to my website and Google is warning visitors to not load the page. The malware is located in wp-includes/js/swfobject.js of my Wordpress and I had deleted it but appeared again. Malware code: /* SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT Lice...
I was thinking of using a Debian guest as my main 'host' instead of my actual host (Ubuntu). Do you think this will have any advantages in terms of making it difficult for digital forensics to recover the files that are in the guest OS? The only encryption used in the Guest OS is encfs. Also the network is bridged. I ...
I've been asked by bankers, school administrators, insurance agents, car salesmen, realtors, you name it to send them all kinds of information over e-mail over the years. Everything from my address and phone number to credit card information and Social Security Number, either as text or in the form of scanned documents...
Our cloud based service is currently undergoing changes with a view towards PCI compliance. It is a high throughput service, and there are concerns that enabling the right amount of logging on our web server application will hinder performance of our system (What logs to retain for PCI-DSS? - Retain All The Logs). Duri...
When I search the geographic location of my IP address why does it show multiple cities and states that are not my own? Does this indicate someone else is sharing my IP address?
In order to stop people abusing free trials, we can make sure new users are not reusing data from existing users and therefore not just signing up with a new account every month. It is reasonably simple to create an email alias, use a fake name etc, but getting a new credit card each month is tricky. However, this coul...
An application is required to store sensitive data* on each user. Additional columns are added to the database which store cyphertext encrypted on the application server. The algorithm of choice is symmetric (AES) and a single key (assume that this key is correctly stored and distributed to the application servers). My...
Lets say I want to develop a website with a community, and so I want it to be open source. However, this website isn't going to be static. However, it seems that revealing the database connections and the queries made is insecure, as the database name, username, and password are all part of the code. How is sensitive ...
My residence provides wifi and I'm using my personal computer to connect to it. I use a login and password to have access to the internet. Some websites are blocked by it. Sometimes I log into VPN (using ANyConnect) to access data on my university's server. When I'm on the VPN, the websites usually blocked aren't. My ...
I sometimes come across systems that are segregated in a way I know to be flawed. The arrangement usually looks like this: There is a general IT environment, which follows best practice: patching, anti-virus, password policy, USB disabled, etc. However, there needs to be a balance of security and usability in this envi...
Most password reset systems involve emailing the user a one-time link that lets them reset their password. The token needs to be in the URL, as most email clients do not allow HTML emails to perform POST requests, and asking the user to retype the token is not an acceptable experience. However, this puts the token at r...
So, I had an idea on how to block Tor (or similar tools) from being used on your network (or ISP, which is perhaps more relevant, considering Tor's mission). I'm assuming it wouldn't work (based on the assumption that the US Navy is smarter than me), but I'm not sure why not. So, here's how I'm thinking it would work: ...
Sony recently saw a large amount of data stolen. In order to prevent the stolen data from being spread using torrents, they are doing what was called a bad seed attack. What is this attack? Is this a known attack or some term they coined for what is happening in this specific case? Here's an excerpt from an article rel...
I use Lastpass and I'm testing out other password managers in order to set policy for organizational use. Depending on settings, I've found that these programs can automatically send your password out to unexpected places. For example: Password Safe: The "browse to URL and autotype" feature of Password safe opens th...
Microsoft suggests "certified drives" for http://www.microsoft.com/en-us/windows/enterprise/products-and-technologies/devices/windowstogo.aspx, but it appears that other than confirming that these drives work with Windows To Go they are no more secure as it relates to Windows To Go support than any other drives that wo...
I work on a web application that manages information about transmission setups and processes client transmission statistics to generate billing charges for the services used by these clients. The team that supports these clients is able to view setup information, including account information and user access controls m...
I have to work on infected websites once in a while, and I'm wondering if there are some good practices to keep my computer safe. I use my personal computer for work, so I'd like to take precautions. Is downloading an infected website via FTP a risk only if I run it locally? If not, what are good safety measures I can ...
According to this page: Be aware that the Network Time Protocol (NTP) is unauthenticated, and unencrypted, and it is possible for an intruder to spoof the time root source, causing the wrong time to be set on the DC. Now according to an article on configuring time servers for DCs, loss of service can be caused wh...
I'm building a CSRF prevention method in our application framework. I use, inter alia, the OWASP site. We have chosen for the "Double Submit Cookies" prevention meassure, described at the OWASP CSRF cheat sheet The cheat sheet states: When a user authenticates to a site, the site should generate a (cryptographicall...
What is the difference between ISO 27001 and ISO 27002? Are they related to each other or not?
Can someone give a clear definition of a Salami Attack? In the book Security in Computing (4th Edition) by Charles P. Pfleeger. It is stated as a attack to data integrity and I quote the passage: Data Integrity Stealing, buying, finding, or hearing data requires no computer sophistication, whereas modifying or fabri...
I have a B2B SaaS that my clients then use with their own customers to gather data in a face-to-face scenario with iPads, I would like to expand it to take credit card details. The credit card details would be stored with a PCI compliant third party. For the processing I could either have the credit card number go thr...
What exactly entails an incident response exercise (like a Red/Tiger team excercise)? How does it add value to a security operations center? Is there any good resource I can read up on how to set up a 24x7 security operations center SOC? I am also looking at engaging expertise on SOC for my company. What are some of th...
Alice is an employee of Chris, and Chris does heavy traffic monitoring via its company proxy. Alice wishes to use a Bob's web service while preserving privacy and confidentiality. She has full control over a miner machine which is reachable from the Chris' company network. Will Chris be able to distinguish SSH SOCKS pr...
I have read that you can hide processes from the task manager, example here I've seen a few posts on hidden keyloggers using rootkit but that's it really. Is there a tool or way to look at processes being run even though they have been hidden?
Suppose I log to my Gmail account. After that, I use Google to search for random websites and visit some. Are there any security threats on my Gmail account when Googling and surfing the net while it is open ? This picture, hopefully, explains what I mean:
I heard that nmap scans for only 1000 most common ports while we do server scan. Is it possible to force nmap to check all the ports for scanning? If yes,How?
I've developed application for receiving payments on my shop site. However, my clients are asking and forcing to complete a penetration testing. Why there is need of penetration testing, when I already testing and audited my code.
I am using the using the following image from FishNet Security as a sort of guide for the data flow diagram required by PCI DSS as defined by: 1.1.3 Current diagram that shows all cardholder data flows across systems and networks Let's say in addition to this diagram that we receive phone call payments inside ...
I'm implementing CSRF guard in my web application. I have done all the required configuration and I can see token getting generated/injected into the request header. Let me tell you application's architecture a bit, I have JSP pages which makes call to services using Ajax to get the data and display in the UI. My quest...
I was reading about capturing packets during skype sessions to get the other person's IP address... sounds like you can do this mainly while in a live skype chat / call between skype to skype, but Is it possible to get the other person's IP by just ringing their Skype number even if they don't pick up your call? (By s...
My compliance manager recently told me that Lync IMs should be treated as e-mail for compliance purposes. This also made me realize that our other email policies (encrypted device, pin required, etc) should also be adopted for this form of communication. Is there any way to get a Lync client (or comparable/compatible ...
Lets suppose my program makes a http request and uses it response to update some values. Is it possible to somehow mimic the response in order to modify it so the program believes the server responded when in fact it was a hardcoded response? I'm not using HTTPS.
I can't understand why IP spoofing (even basic) is very limited. Suppose Bob and Alice are about to communicate and Eve can see network communication, why eve can't use IP spoofing for making "Man In The Middle" ? I know there is a TCP issue with predictable stats (ACK, sequence), but if these informations are not enc...
I am trying to find out if there's a way to upgrade the SSL version from SSLv3 to TLSv1 of a connection by only making server-side changes. In my case, both the client application and server are using OpenSSL(v0.9.8o), so both support SSL versions up to TLSv1. Every time the client wishes to establish a connection with...
Since last week I have been seeing something fishy and it seems to be worsening. I tried many firewalls and they seem to be useless. I blocked all unwanted ports and only few ports are open so I found that my VPS get frozen when Packets per second get's over 20k. I want to know if there is some way to limit pps on open...
Is it advisable to store the salt in a separate database column or should we concatenate it together with the password? Is there any difference? I have come across implementations of both types. Example of concatented salt used in wordpress hashing function. $P$Bo3k0g.yPKzWx.xmABq/hCuGLLd7A20
Due to a high number of clients connected to one of my routers I recently changed it's password and reboot it. I also disabled WPS. The router is a ZyXEL Prestige 660. After the reboot the client list looked like this: Status Host Name IP Address MAC address Reserve Modify DeepThought 192.168.1.10 08:3E:8E:*:*...
This question comes to you from the the common WindowsNT advice that "I", as the computer administrator, should login with a normal unprivileged user account for day to day use. Does this concept have a place in the Linux (Specifically the Debian and Ubuntu [derivatives])?
I am writing a novel in which a researcher attempts to work against a study he is a part of by purposely sabotaging operations on the research compound. I am wondering if the following is plausible. "Bob" starts a small fire in the server farm containing the primary servers for data collection in the study. He has "St...
If honeypots are designed for a specific set of exploits, such as SQL injection and XSS, how do they protect themselves against other exploits? For instance, if I created a honeypot a few months ago, and still had it running, would it be safe from shellshock? If so, how?
I want to store encrypted files on some storage backend that allows me to fetch bytes X through Y of the encrypted file. I can obviously decrypt the entire file locally and send it back to the client. However, if the file is very large it would be nice to be able to arbitrarily decrypt that byte range on the fly. If po...
I need to hide my activity and IP address from those I share this network with. I'm unsure if a VPN will serve my needs, because I'm not concerned about the sites I access tracking me. I'm concerned about the owners of the network seeing what sites I'm visiting. I don't want my history showing up on their logs. What to...
First of all, I'm a co-owner of my company and I am using my own computer on my company network. Occasionally I'll browse some websites throughout the day to kill some time. My business partner recently got a call from IT saying I visited some unsavory sites and got some malware on my system. I am wondering what IT wa...
I am planning to engage a vendor to do pen test on my external systems. I know that pen test has a set of systematic steps .. just would like to gather some industry experience. Normally, at which stage of the pen test would you most likely stop, to give you enough justification that your system is indeed vulnerable. I...
I am cleaning up the certificate stores on my Windows machines, and considering which certificates I should keep, and which ones I should delete. Why does a fresh install of Windows Server 2012 R2 come with certificates such as these: Considering that these certificates expired back when I was in high school, what cou...
Some passwords like "123456", "admin" are outrageously popular, so are the leet transformations and concatenation of digits. The users seem to pick up the password suggestions or just copy the passwords pattern of others without giving a thought. The passwords should remain secret, but the fact that passwords of diff...
This is the nmap scan results on my server (used for email and web serving) from a remote scan. Which all ports are in danger and why? PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 42/tcp filtered nameserver 53/tcp open domain 69/tcp filtered tftp 80/tcp open http 110/tcp...
I have been thinking about buying a ready-made PHP script (i.e. a web application) that provides a specific functionality. Say, for example one of these sold by Agriya: http://www.agriya.com/products The concern I have about these is, how to evaluate the security of this type of script. Not only is there a concern abou...
It's unclear to me how transaction signing and transaction authentication work. Industrial solutions use both symmetric and asymmetric algorithms to compute the signature. What does RSA add the one-timeness to the transaction? What are the advantages of symmetric vs. asymmetric algorithms for transaction signing? If ...
I have created a KERBEROS.TEST realm on my Ubuntu 14.10 virtual machine and after addprinc root/admin also I added my client machine as principal. I checked kinit and with sudo klist command I received the ticket on my kerberos server, but from my client machine, I receive this message: Cannot contact any realm 'KERBE...
With the recent (and not so recent) news about fake cell towers popping up in different part of the world, I was wondering how these are detected (from a technical point of view). I'm not really looking for information about how an end user could detect or protect himself, but rather I'm wondering how a fake cell tower...
I often see the phrase “Secure Vault” in PCI DSS documentations and I want to know if a “Secure Vault” must be a highly protected file with sophisticated technologies stored on a very secure hardware or simply it can be a database behind multiple layers of standard security mechanisms. I mean if we want a high level of...
as part of security awareness for the company, I am looking for something that I could use to spread the awareness. Maybe a web based application/portal which I can create quiz forms easily or share out media resources on IT security easily. What kind of tools do you use to help spread awareness to the company? thanks
I'm interested to understand how passwords provided in ODC (Office Data Connection) connection strings are encoded or encrypted. The format of the connection string is <odc:ConnectionString>Provider=MSOLAP.4;Persist Security Info=True;Data Source=[URL here];Initial Catalog=[catalog name here];User ID=[user id here];Pas...
Something very simple: most of us communicate most of the time with people we already know. Alice and Bob probably have physical contact, too. Yes, there are cases when whistle-blowers want to contact journalists for the first time, but that’s not the problem situation for most of us. Symmetric encryption therefore is ...
Every forensics material you read, tell you to get an image of the disk and work with this image. However, it seems they always refer to a single computer. What if the compromise is on a VMWare installation where there are multiple disks setting up LUNs and LUN groups? How should I get the image?
How do you put in controls to prevent a staff using his/her mobile phone to tether 3G/4G connection and download unauthorized files onto the office PC? Of course minimally there must be an AV in place to check for viruses and stuff. But how to stop the tethering in the first place? Any recommendations? thanks
My question is very closely related to this question but I didn't find my answer there. Specifically, I'm interested in whether the C2 server can modify aspects/properties of the malware and, if so, without letting the victim know. The malware I'm interested about is CryptoLocker so I'm not really able to do a dynamic ...
It is popular today for frameworks and social sites to enable multiple authorization options when creating websites. For example, allowing a user to login with GitHub, Twitter, Facebook, etc. In addition, identity verification using mobile verification codes is also becoming more common. Enabling these features seems t...
My office has two Sonicwall Routers each at a different physical location and with two different ISPs. There is an SSL-VPN tunnel between the two. Today I noticed that the same Chinese IP address attempted to connect to the External IP's of both of these devices on coming from the same port. Source: 61.160.213.108 port...
Hi everyone I am interested in how a banking app works, especially the way it handles https requests. So I installed one, set my proxy settings, started burp suite and expected it to work. As you may expect it did not. Burp-suite gave me an error namely: Received close_notify during handshake At that point i came up w...
I was reading an article about the Ars Technica hack here and had a couple of questions. The commenter said: "PHPass uses salted and iterated MD5 to hash passwords" My question is that if I were to design a new system, would using salted, multiple iterations of MD5 be considered acceptable, vs just using SHA256, bcry...
I am investigating a data breach in the company I work for. Seems that the intruders managed to access a server from the internal network by compromising a router witch supports PPTP vpn and using this router as a pivot to the server. Obviously the logs of the router had been cleared. Could I some how recover the delet...
Is my information secure over public WiFi if I use a VPN service? i.e. protection of emails and login details.
I was surprised that the out of the box 'W' command on Linux provides so much information without needing any SUDO or admin permissions. In particular, the command shows the command line of each user's current process. This seems to be a huge hole as it could potentially show someone accessing a hidden file (for instan...
I'd like to protect against clickjacking using the X-Frame-Options header, but we occasionally frame secure content on the insecure version of our site1: Since it looks like only Firefox currently supports the ALLOW-FROM form of the header, I'm considering conditionally serving the header: By default, include X-Frame...
A browser that only has TLS 1.0 support won't be able to establish an HTTPS session with a server that has only TLS 1.1 and TLS 1.2 support. This typically results in a cryptic (to a normal user) error about a cipher suite mismatch or in IE even misinforms the user. IE 10 says,"•Make sure TLS and SSL protocols are enab...
Can every USB device and most of the chips in other hardware be reprogrammed like it works with the Bad USB hack to inject malware into the operating system? For example i got a DVD burner that i bought a DVD burner to install operating systems to my notebook. The people working for the manufacturing firm do they have...
I am experimenting with securing diskless clients booting both RHEL 6.5 and Windows 7 via PXE (and iPXE in the future) from iSCSI targets. These computers run only on an internal network and are disconnected from the Internet so the only way for data to be taken without authorization would be for a user to bring in a h...
Let's say a user is authenticated, and the entire account authentication process happened under secure HTTPS. Upon successful login, the user is redirected back to the homepage. However, the homepage contains links within the website which do not have SSL enabled - basic HTTP. For example: https://example.com https://...
I'm confused about the risks of 2-factor authentication. I'm a developer, who has to do some ops, and considering turning it on for my DigitalOcean and GitHub accounts. Both offer TOTP(?) and indicate Google Authenticator. Great. Then I read some FUD about Google Authenticator and looked for an alternative. There's ...
I'm just wondering is there anyway to move Metasploit framework from Linux to Mac completely and It will be work ? and if yes , how ?
I basically understand how tunnel mode and transport mode works, but I don't know when I should use one instead of another. Among the two parties who want to communicate, if one computer B doesn't understand IPsec, I think they have to use tunnel mode, which puts original IP and payload into ESP and delivers the packet...
I want to build a simple password manager for desktop whose sole purpose is to store the passwords that can be read by the user as and when required. I am not considering any fancy features such as autofill, cloud storage, password sharing etc. Its purpose is to just store the passwords. What are the guidelines to buil...
I am writing a client / server program pair. I have established my own protocol and am communicating with TCP. Presently, when the client messages the server, it adds 42 to each byte (looping, 127 + 1 = -128) and reverse the byte array to send. The server side subtracts 42 from each byte and reverses the byte array aga...
I am referring to the yellow dots which are printed automatically by laser printers. They encode information such as the time the document is printed as well as the serial number. There appears to be quite little information on this subject available on the internet. I would like to know if anyone has heard of any kno...
Has anyone come across a code analyzer that could be run on OS other than Mac to scan for Objective C (for iOS) code?
Is Ettercap detectable? It technically shouldn't be because it just reads the data it sees legally through network. Every other computer receives the exact same data, it just doesn't show the data to user since none of it is reserved for that one user. Is using Ettercap detectable? I mean, it's just my application on m...
I found this at github: https://github.com/AnwarMohamed/meterpreter-darwin Does anybody know if this works on a non-jailbroken Iphone? I downloaded it on my and double-clicked on the Makefile-icon, inside the OSX directory, but my OS just keeps saying: "Makefile" can't be opened because it is from an unidentified devel...
Simple as that! Clients that can't maintain the secrecy of the client_secret in OAuth2 don't have to use it. So what's the point of having it at all, if it's not necessary? What am I missing here?
Lets say I own a website say, citiibank.com. (extra i )Will certificate issuing authorities issue a https certificate to the site? For all they know it is a valid website, whose name just happens to be similar another website. Is there some validation of the credentials of the website before issuing certificates? The c...
I've been wondering about something, is it more secure to store an encrypted (hashed with password_hash) email address in the database, or just as plain text? I've google'd this matter and saw that there are people who are for it, and against it. So here are my thoughts; I think it would give a little more security. O...
i have 5 domains(example.com,example2.net...) hosted on separate servers. is possible to use one Multi domain SSL certificate for these domain ?
I've noticed that there are quite a few applications out in the open now to decrypt chrome's password management features. I've seen hacks where a hacker remotes into a computer and runs an app revealing all the saved chrome passwords. What are some anti-measures to prevent this from happening aside from not using the ...
Recently I got interested in encryption and the methods behind them. So for a fun / school project I am building a program in python to encrypt data between two clients (chat and files). I'm just really not sure how to truly make it secure against both passive and active attacks. Right now my idea is to use a server t...
There is lots of media coverage like this one but I have not yet been able to find details on how the hackers got into the network, the servers and the users' systems. So what vulnerabilities / zero-days did they use ? How did they apparently manage to take over virtually all of Sony Pictures systems, from the servers ...
There exist various tools for Windows filesystems (NTFS, FAT) to write zeroes or random numbers to free space on the drive/filesystem. Do there exist tools like this for Linux filesystems like ext4 and btrfs?
I wonder what is the content of a basic banking card having a chip, the kind you use for payment in any store, with a PIN, possible bank authorization, such as Mastercard or Visa or national banking schemes. What kind of information is on the card ? Is it quite similar to corporate smartcard (private key for signing/a...
When I use the nbns_repsonde module in metasploit, and set it to write captured responses to a file in the john format, I get a file with lines such as this: username::DOMAIN:stringof32numbersandletters:stringof32numbersandletters:1122334455667788 This is for a http-netntlm response. Where I have written stringof32numb...
This is a part of code in which I cannot figure out the mistake. I am using the jmp-pop-call technique and what I get is "Segmentation Fault". Tried to use GDB but things are really vague. Each byte is encoded by 1 in python and what I want is to decode with the following part of code: global _start section .text _star...
Being in the US, I have noticed that more and more companies ask to send sensitive credit card information (all information that is required to make a transaction) over a plain email. I believe that this is a security threat or at least a bad practice. My question is whether it violates any of the standards (like PCI D...