« first day (3056 days earlier)      last day (2122 days later) » 

00:26
@reed Pentesting isn't about telling how secure a site is, quite the opposite. You want to show how insecure it is and how to fix it. A clean pentest report doesn't imply perfect security. You should never guarantee anything in the contract or you could be liable. So don't say that you'll find all bugs of some class.
 
9 hours later…
09:55
@forest @reed counter argument: make a picture with a padlock which says "100% secure" in bold letters
10:08
@forest, it's not really pentesting. It's about services that are supposed to improve a client's security, like offering to do regular updates. I guess I should start by reading the TOS of firms like Sucuri, or the licenses provided by antivirus software
10:25
just checked Sucuri's TOS: if they can't clean your website after an infection, they will refund the annual fee. Except for that, the usual classic universal TOS applies: "the service is provided AS IS without warranty of any kind, etc.". LOL
10:58
@TomK. Krebs was upset at another security researcher, and doxxed them. All hell broke loose on twitter. Mitnick approved of the behaviour so he's also in the firing line of a large portion of the infosec industry :-)
@RoryAlsop yeah, that was kind of the gist that I got
eh krebs shoulda known better :/
He did have some fun stuff with a few folks who disliked him
@JourneymanGeek I have no idea why he thought that would be a good idea
 
1 hour later…
12:16
isn't this what he does? unveiling people's identities in a story-like manner?
 
1 hour later…
13:22
@TomK. The problem is in his reasoning - the person he doxxed is not a criminal, but another researcher
13:44
yeah, I heard about that.. but I was kinda surprised about the outrage
Anonymous
14:15
I need a Linux sysadmin expert to help me! :p
@J.J I'm a petty dabbler...
Anonymous
So...
Anonymous
I play HackTheBox which is a pen-testing practice platform, I've just bought a new laptop and I want to run Linux as a daily driver - problem is, I also want to use this laptop for playing HackTheBox.
Anonymous
Now, my idea was to create two users; one for my daily driver and another for HackTheBox (as I don't want to VM on Linux) but, I'm a little bit worried of someone potentially trying to attack my machine (as in, another HackTheBox user).
Anonymous
14:18
HackTheBox does have protections in place for users, however, they still advise you always use a VM (for obvious reasons), obviously nothing will be as safe as using a VM for containerisation but could I achieve a decent level of security against this kinda' thing just based on Linux permissions and some skilful sysadmin tricks?
and?
eh kinda
actually this is more under the security spook dogpark...
considered say, chroot jails?
Anonymous
Haha.
Anonymous
Worth a question...?
or a second install?
another thing to consider is encrypted home directories
Anonymous
I guess I could look into a chroot jail.
Anonymous
14:20
Not a fan of a second install, I must admit.
I'm just spitballing
So, as a petty dabbler...
what scares you? OS level funsies? folks getting access to your normal account info?
Anonymous
Well, a lot of people on the HTB platform dislike me.
Anonymous
I am scared of file leaks, full system compromise, data leaking, tracking, account leaking, keyloggers, etc.
Anonymous
I will be using this laptop a lot so it's going to have personal/sensitive information on it, such as my KeePass (I'm yet to get a YubiKey) and so that's something I'd be worried about, that and other sensitive files being potentially obtained so I guess home directory encryption would prevent this kind of thing.
for everything but the full system compromise and keyloggers, encrypted home directories help
well data leaking and tracking could happen on your HTB instance I guess
(feel free to tell me I'm wrong ;p)
Anonymous
14:25
I'm a little bit unsure of what could happen.
@J.J anything ;p
Anonymous
But there are a lot of talented hackers on there, and some of those talented hackers really don't like me.
Anonymous
Precisely.
but there's reasonable steps and there's full paranoia
Anonymous
So, I'll for sure go with encrypted home directories, that's a good step.
Anonymous
14:25
As far as separate users, that should keep me somewhat safe too, right?
Anonymous
The PROBLEM is that SOME hacking tools require sudo, this kinda' defeats the point a little, don't you think?
@J.J it would make it harder if someone hacked into one account to access the other
Anonymous
Yeah, of course.
Anonymous
But what about in the case of me requiring sudo on some tools I'll be using?
@J.J ah! You could run them in containers, or chroot I assume, in many cases.
Anonymous
14:27
So if we take nmap as an example, I could run that in chroot to avoid this kinda' issue?
if you gotta use it, you gotta use it. But you could set up that account to only be able to sudo the tools you use.
Anonymous
I know a little about chroot but I'll have to do some more reading.
Anonymous
Oh, that's a good idea.
if nmap is compromised you have bigger problems
Anonymous
Yeah, but I'm talking about some of the backstreet tools off GitHub and the like. Nmap was just an example.
14:28
same idea though
Anonymous
The sudo idea is a good one, I need to learn how to do that because I know virtually nothing about Linux even basic sysadmin haha.
You try to narrow the risk profile.
I mean, short of a burner laptop.... ;p
Anonymous
I cannot afford a burner laptop, sadly.
Anonymous
I'm happy to take some risk.
Anonymous
But I'd like to minimise it as much as possible.
14:30
eh
lots of folks use netbooks for that
Anonymous
Netbook isn't going to be powerful enough for HTB I think.
Oh well
once again, just spitballing ideas.
Anonymous
Yeah, I appreciate it.
Anonymous
Do you think this might be a good question for the site?
Anonymous
It's pretty securitycentric.
14:31
erm
I'm not really a security.se regular.
I don't really know :/
Anonymous
Oh I forgot!
Anonymous
Yeah, all good.
If its forensics related, and I remember (Its what my degree is, but I ended up elsewhere) I'd be glad to be slightly more authoritative ;p
Anonymous
Well, I think there are some forensics questions to be had here, no?
Anonymous
For example, let's say I logged into my user to do something, let's say get a password and I then logged out and logged into the HTB user, is anything still in RAM from KeePass?
Anonymous
14:34
It does only clipboard for 30 seconds but, that's a forensics question, no?
Anonymous
:thinking:
ah. tbh - recovery from ram is insanely hard unless you're logged in as, well you
Anonymous
Okay so that's one less thing to worry about, that's good!
yes, there's the freezer trick but that's about as esoteric as it gets
Anonymous
Hahah, the freezer trick.
Anonymous
14:35
I love that one.
and heh. yubikeys are sweet
Anonymous
Yes, I need to get one.
Anonymous
They're expensive though :'(
I have the github special u2f one
waiting on a solo though
@J.J you're going to hate me.
I paid.. 8 dollars for my U2f key
Anonymous
WHAT!?
Anonymous
:'(
Anonymous
Which YubiKey is the best for just KeePass?
Anonymous
I don't need any fancy stuff.
errr
I kinda want the fancy one fo I can do passwordless unlock
Anonymous
14:38
I just want to setup a YK so that it gives me an otc or something along with my master password for keePass.
@J.J U2F is kinda the "minimum"/base level now
I'm getting a FIDO2 compatible one though
Anonymous
I was looking at the YubiKey 5, it's $45 though.
its open source, and a fair bit cheaper
annnd I got it on kickstarter so it was a bit cheaper than their list price
Anonymous
Hmm so, say for the YK 5.
Anonymous
To set this up, all I do is plug it into my machine and what?
14:42
@J.J I use U2F for google's stuff
so basically you set it up through your browser or application that uses it
Anonymous
I kinda' only want a key for my KeePass.
then you plug it in a push the button when it asks
so likewise for keepass
Anonymous
All of my mail accounts do have 2FA.
Anonymous
Ah, okay.
though, the yubikey5... do you need NFC?
Anonymous
14:43
I guess NFC might be handy for my phone?
Anonymous
I was trying to get KeePass on my phone but I didn't know which app is the correct one lol
@J.J yubikeys are the cheapest!
I have 6 now I think
Anonymous
Jesus.
Just to get one of each kind
Anonymous
Want to send me one? :p (Joke).
14:46
They have all been registered and used... I haven't looked at the threat model for that...
Anonymous
Ah.
17:27
Does anyone want a potentially fun challenge? More specifically, a CSS sandbox escape? The premise: I want to allow authors to use <style> tags on WordPress without being able to affect the site's main styles.
To do this, I will attempt to prepend all of their selectors with "#sandbox", which will restrict their CSS to only the #sandbox div. So the user gives "body {color:red}" and the page renders "#sandbox body {color:red}". It's a simple premise, but can potentially be hard to implement.
I uploaded my first go at this here: sandbox.onlinephpfunctions.com/code/…. If you want to take a look, I'd love to know if you can find any edge cases which will allow you to apply CSS outside of the #sandbox div, or if I've missed anything obvious.
 
1 hour later…
18:30
I just realized that being able to use CSS at all allows the author to place their content outside of the sandbox without the code itself being outside of the sandbox. For example, this approach would prevent them from editing the page header, but not from spoofing the page header. Or worse, making their content 100% 100% and looking like a tech support scam. You can disregard the previous post as far as security goes.
This would still prevent users from accidentally breaking the page though, so if you do see something I missed, I'd love to know.

« first day (3056 days earlier)      last day (2122 days later) »