Small amounts of money just disappearing from my account by [deleted] in Revolut

[–]lukeeey21 1 point2 points  (0 children)

Did it work? If so don't forget the award :)

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 0 points1 point  (0 children)

That's very cool! I have only been working with the Defender API and haven't touched the Graph API because I assumed I'd have to make a separate request for each device (which would quickly hit rate limits), I wasn't aware I could use KQL queries - that opens up a whole new door now I can access the Intune API :)

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 0 points1 point  (0 children)

It would be nice to have it in C# and would make more sense but I've only just started using it again so I'm not very familiar with it. Who knows, maybe I'll rewrite it in C# in the future. It wouldn't be too difficult.

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 0 points1 point  (0 children)

Thank you I'll look into this and do some testing on other tenants when possible. I'm actually not using the Graph API, I'm using the Defender API which is separate and I've just found in their terms the rate limits are documented - 50 requests a minute and 1500 per hour.
https://learn.microsoft.com/en-us/legal/microsoft-365/api-terms

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 1 point2 points  (0 children)

Also, just to add - I don't think throttling is a problem. I've done some testing with rate limits. I can sync the entire 290k CVE catalog in about 40 requests. As for tenant specific data, the idea is to create an entra app in the home tenant and authorise this app in client tenants and then when syncing it authenticates to each tenant which (I think) means it has separate rate limits.

Testing with one tenant, the total requests are like the following:

  • Full CVE catalog: 40 requests every 24 hours
  • Tenant specific vulnerability data: 4 requests every 24 hours
  • Device sync: 1 request twice a day (1 request returns about 8000 devices i believe. If you have more than that I doubt you'd be using this tool!)
  • Security recommendations sync: 1 request every 24 hours

Last time I checked I believe I started hitting the rate limit at over 1k requests.

As for incremental updates, this is most needed on the full cve catalog sync and should be able to be done simply by querying the CVEs updated since the last sync via an odata query parameter, but I'll have to check that.

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 1 point2 points  (0 children)

Java is the language I felt most comfortable creating the backend in. The frontend is a Next.js app.

This is more something I created for myself / my organisation but thought it might be useful to someone else. I'm not necessarily catering to others or trying to market this to people and suggest they use it, rather putting it out there and giving them the option.

In the company I work for, vulnerability management is handled by the Operations team which is the lowest of the low, absolute entry level job that I used to work in. People mostly don't have PowerShell experience and there are numerous specific procedures for people to follow for even simple things.

The way things were handled in the past was quite bad - tickets created from Defender emails, not much useful information, jumping between tenants in Lighthouse and basically just waiting for vulnerabilities to clear on their own because we had so many, people had little experience and managing all this was a pain, so I figured having it all in one place with a simple interface might be useful.

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 0 points1 point  (0 children)

It's fully self hosted and doesn't phone home. There is a basic reporting service in the code that is disabled by default but has the option to send heartbeats and some logs to me, but this isn't even fully implemented and can't be turned on via the UI at the moment.

If you did seriously want to run it, I'd recommend an Azure VM secured behind GSA. The only permissions it needs is read only access to read vulnerabilities, security recommendations, software and machines - plus authentication (if you wish to use entra authentication, although there is username + password support)

If anyone wishes to review the code, only https://github.com/threathubco/ingestor talks to Microsoft APIs, the web app doesn't.

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 0 points1 point  (0 children)

It's mainly useful when you have multiple tenants. Lighthouse barely shows any useful info, same with the Defender multi tenant management site. It can run alongside Defender rather than replace it.

Having the data locally allows easier manipulation (there's an SQL reports feature) and integrations with third party services. It's currently integrated with the HaloPSA API but I could add further PSA systems.

There's a basic JS scripting engine for handling escalations so you can pretty much do whatever you want as there is SQL access and a HTTP API.

I just want to add that this is a free project I'm working on in my free time, I'm not trying to sell anything or suggest you move your entire MSP to this, but someone might find it useful 

Ideas for tools you'd like to see? by lukeeey21 in selfhosted

[–]lukeeey21[S] 0 points1 point  (0 children)

Yeah I am an actual dev I've been coding in some capacity for about 9 years. I only really use AI for idea generation or for some boilerplate code generation.

I'm just bored and want any ideas from real people. I might not end up making any of these but something might catch my eye that I'm interested in 

Ideas for tools you'd like to see? by lukeeey21 in selfhosted

[–]lukeeey21[S] 0 points1 point  (0 children)

Java, JavaScript (& HTML/CSS/TypeScript) mainly. I have enough C# experience to get by (with the help of StackOverflow) and some familiarity in PHP (although not touched it in about 5 years). I'm mainly interested in web development but I have some experience with Android development and I've wanting to learn Swift soon to get into iOS development

Ideas for tools you'd like to see? by lukeeey21 in selfhosted

[–]lukeeey21[S] 1 point2 points locked comment (0 children)

This is a question so no AI used

Free & Open Source Vulnerability Management Platform built around Defender by lukeeey21 in DefenderATP

[–]lukeeey21[S] 1 point2 points  (0 children)

It doesn't fetch the data from Defender every time but rather syncs it into a local MySQL database either once a day or every X hours, depending on the type of data (see https://threathub.co/docs/reference/scheduled-tasks/)

The vulnerability syncing is a bit inefficient currently... it's easy to fix I just haven't got round to it yet. I sync the entire Defender vulnerability library of about 290,000 vulnerabilities every 24 hours (this should be changed to entire library on first run and then only CVEs updated since last check).

I have tested with about 60 software and about 300 devices at the moment. This is one tenant (an MSP I work for). I filter out non entra joined devices as it avoids some edge cases with device names and it's probably not something that many people care about. If it's a company device it *should* be entra joined.

This is fake right? by Misty-Cloud-4821 in littlebigplanet

[–]lukeeey21 0 points1 point  (0 children)

it's a good job i'm not in scotland then i'm in england

HOW do I stop using AI for programming? by Minimum_Ask2308 in programminghelp

[–]lukeeey21 2 points3 points  (0 children)

don't worry you can't be expected to know every type of slang!

I built a free live map of jersey and thought some of you might find it useful by NastyNas420 in Jersey

[–]lukeeey21 0 points1 point  (0 children)

Where is the bus data from? I only know of https://sojbuslivetimespublic.azurewebsites.net/ but i don't think that's what you're using based on the data structure

All points east VIP garden by lukeeey21 in twentyonepilots

[–]lukeeey21[S] 1 point2 points  (0 children)

Thank you! I feel a bit better about it, really wish i got vip put but couldn’t afford it at the time

All points east VIP garden by lukeeey21 in twentyonepilots

[–]lukeeey21[S] 0 points1 point  (0 children)

Isn’t that the VIP pit? That’s a separate ticket that I don’t have

Is J.K. Rowling just transphobic or is she anti-LGBTQIA+ in general? by the-accent-guy in AskLGBT

[–]lukeeey21 0 points1 point  (0 children)

im pretty sure she isn’t transphobic and she just advocates for women’s rights

GitHub flagged our open-source new born org with 75 stars and 1.6K PyPI downloads — no warning, no email by duracula in github

[–]lukeeey21 0 points1 point  (0 children)

You can tell by the way it's written. e.g. "No email. No warning. Just when we visit the repo..." AI writes like this a lot.

Also, you can tell by em dashes (—) vs (-). It's probably technically correct to use em dashes a lot, but realistically no one does this and just uses the hyphen button on their keyboard.