31,911 reputation
346116
bio website bishopfox.com
location
age
visits member for 4 years, 3 months
seen 1 hour ago

Test everything, trust no one.

Do not trust any security related answers you see on StackOverflow.com (SO) / Security.StackExchange.com (SE). Not from me, not from anyone. There are very smart people on SO/SE and there are excellent answers given, although the right answer is not always chosen.

I have been writing exploit code for a while. There is no perfect system, vulnerable code will always exist.


Apr
16
comment Why doesn't the same origin policy block get requests that contain arguments?
It depends on the XHR. But yes for the purposes of CSRF, you should assume that the client can send arbitrary requests, and that the response may be sent by the server, but not visible to the attacker.
Apr
6
comment Why do some people really hate security via client-side?
@Pacerier I am a penetration tester, I study how software is built and how it fails.
Apr
5
comment Why do some people really hate security via client-side?
@Pacerier In my mind, hacker is just a title earned by a highly skilled engineer. No programmer wants to write insecure code, and in order to be a successful penetration tester you have to understand how the application works better than the engineers who wrote it. Studying compsci and understand the theories behind application design is just the first step.
Mar
29
comment Is it possible to emulate real network printer i.e. to run some actual firmware in VM?
@André Daniel Dang, I was going to mention QEMU. It is the dev tool of choice for embedded devices that are njon-x86.
Mar
29
comment Why do some people really hate security via client-side?
@Pacerier I'm in my twenties, and I first started releasing exploits when was in my teens.
Mar
15
comment Google Chrome “Your connection to website is encrypted with obsolete cryptography”
Consider: security.stackexchange.com/questions/76993/…
Mar
14
comment How to create a OSx pen testing environment
A mac? I would install a Linux distro with a good package manager.
Feb
18
comment How can I set my server to only accept requests from my own client app? (similar to SSL Client Certificates)
@Daniel Magliola The only one you are fooling with cargo-cult security is yourself.
Feb
18
comment Session Authentication vs Token Authentication
@SilverlightFox Interesting, I was not aware of that weakness. Not surprising coming from Microsoft.
Feb
17
comment Using INTO OUTFILE with INSERT
@Mints97 did you even try this? Sub-selct doesn't allow into outfile.
Feb
17
comment How can I set my server to only accept requests from my own client app? (similar to SSL Client Certificates)
SSL was deprecated over a decade ago, I sure hope you aren't using SSL. TLSv1 or later is the only acceptable secure transport layer.
Feb
16
comment Session Authentication vs Token Authentication
@Hoax that is a separate question. The OAuth flow is really useful.
Feb
16
comment Session Authentication vs Token Authentication
@davis_m good point, updated.
Feb
16
comment Prevent a desktop client application from abusing an API access token obtained through OAuth2 on behalf of an application
@ThePhysicist and the answer was clearly provided. In order to restrict access, you need something you control.
Feb
16
comment Prevent a desktop client application from abusing an API access token obtained through OAuth2 on behalf of an application
@ThePhysicist ok, you still can't give the attacker the access_token, which means you can't send it to the desktop client, this must never happen. Crypto isn't magic, you can't hide in plain sight.
Feb
16
comment External cross domain include script
This is a security issue, and for any reasonably complex app there should be no less than 1,000 vulnerabilities that are more important than this one.
Feb
16
comment External cross domain include script
This is an easy finding that is commonly reported by Burp Scanner. If a pentester is reporting this issue, then they have weak findings and are scrambling to get a report together.
Feb
16
comment Prevent a desktop client application from abusing an API access token obtained through OAuth2 on behalf of an application
SSL should not be used by anyone, TLS 1.0 and later should be deployed by all services.
Feb
16
comment How to make database of IP addresses anonymous?
@Pacerier An IP Address filter alone is almost never a good idea, ideally there would be some other access control system.
Feb
12
comment SAML Without Session
This question needs more information. I think what you are suggesting is horribly insecure and should not be done. The client cannot be trusted.