Welcome to Issue #3 of the Security Engineering Newsletter.

I have some exciting news to share next week that was a direct result of starting this newsletter. 🥳

-- Andrew

🔥
Want to sponsor this newsletter? Hit me up!

💡
SECURITY ENGINEERING
Scheduled Scripts on macOS: cron or launchd?
The preferred way to add a timed job is to use launchd. In this post, I will outline some examples of where launchd indeed outshines cron.

 post by me! I went into some detail on how to run scheduled scripts on your Mac using Launch Agents. Launch Agents are super common among Mac malware for maintaining persistence, so it might be a good refresher to check this post to get a brief understanding on how they work if you have Macs in your work environment.


Building Secure and Reliable Systems

Building Secure and Reliable Systems by Google is an essential security engineering read and is free to read on Google's GitHub site. Compared to the Ross Anderson book I posted last week, this book is a walk in the park but still incredibly helpful and insightful regardless.


GitHub - fpgmaas/deptry: Find unused, missing and transitive dependencies in a Python project.
Find unused, missing and transitive dependencies in a Python project. - fpgmaas/deptry
deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies.

I haven't tried this tool yet, but it is something that I have always wanted. I think it is pretty easy for orphaned dependencies to hang around in a project for a while, increasing attack surface and such. deptry seems like it would be great addition to CICD pipelines or just doing some checks on a few projects to trim them down.


Why you need a “WTF Notebook”
There’s a very specific reputation I want to have on a team: “Nat helps me solve my problems. Nat get things I care about done.”

The premise of this post is that you should keep a WTF Notebook after joining a team. Any time you see something that makes you say WTF, add it to the notebook, but don't make a huge fuss (within reason) yet . Once you have more context about the environment and its problems, you prioritize which WTFs to work on first.


Ruff

Ruff is an extremely fast Python linter and code formatter, written in Rust.

I love this quote in their docs from Sebastián Ramírez, creator of FastAPI:

Ruff is so fast that sometimes I add an intentional bug in the code just to confirm it's actually running and checking the code.

This is another one that I want to try, but haven't gotten around to yet 🗡️


Tips on Adding JSON Output to Your CLI App - Brazil’s Blog
Best practices when adding a JSON output option to your command-line application.

Not only do I agree with the sentiment of this article, but I found that it had some good tips about working with JSON in general.

TLDR points:

  • Always think of the end-user and how they will interact with the data.
  • Do Make a Schema
  • Do Flatten the Structure
  • Do Use Predictable Key Names
  • Do Pretty Print with Two Spaces or Don’t Format at All
  • Don’t Use Special Characters in Key Names
  • Don’t Allow Duplicate Keys
  • Don’t Use Very Large Numbers

At first glance you may think this appears to be your average cringey, clickbait YouTube video selling a course on AI, but you would be very wrong, friend. Mike Pound is an absolute legend and I will never pass up a chance to watch him talk about computers.

👂
LISTEN
‎Risky Business: Special Edition: Chris Krebs, Alex Stamos and Patrick Gray on Apple Podcasts
‎Show Risky Business, Ep Special Edition: Chris Krebs, Alex Stamos and Patrick Gray - Apr 23, 2024
‎The Future of Security Operations: Ask Sage’s Nicolas Chaillan on moving the DOD to zero trust and deploying Kubernetes in space on Apple Podcasts
‎Show The Future of Security Operations, Ep Ask Sage’s Nicolas Chaillan on moving the DOD to zero trust and deploying Kubernetes in space - Apr 23, 2024
‎Soft Skills Engineering: Episode 405: Scaled agile pain and top-heavy team on Apple Podcasts
‎Show Soft Skills Engineering, Ep Episode 405: Scaled agile pain and top-heavy team - Apr 22, 2024
‎The Cybersecurity Defenders Podcast: #118 - Intel Chat: FakeBat, Sisense, APT29 & CVE of 10 on Apple Podcasts
‎Show The Cybersecurity Defenders Podcast, Ep #118 - Intel Chat: FakeBat, Sisense, APT29 & CVE of 10 - Apr 18, 2024
🎲
MISCELLANEOUS
Measuring personal growth
My founder friends constantly think about growth. They think about how to measure their business growth and how to get to the next order of magnitude scale. If they’re making $1M ARR today, they think about how to get to $10M ARR. If they have 1,000 users today, they think about how to get to 10,000 users.

I saw this post on HN randomly and I thought it was extremely well written and thought-provoking. I love the part about becoming a new person every 3-6 years. For most people, I think this rate of change is pretty much inevitable and you just have to roll with it and embrace it.


An Ex-DOD Hacker Raises $20 Million To Stop ChatGPT-Fueled Cyberattacks
A cyber startup founded by an ex-Defense Department hacker announces a $20 million raise and a presidential candidate as a customer.

Congratulations to Sublime Security (email security using AI and a transparent detection engine) for raising $20M in Series A Funding!

Announcing our $50M Series B extension | Tines
It’s a big day for Tines as we announce a milestone funding round that allows us to double down on our investments in people, product, community, and customers.

Congratulations to Tines (security automation/SOAR) for raising an additional $50M in Series B Funding!

It is fantastic to see the continued success of these two companies. I highly recommend giving them a look if you haven't yet. Both of these products embody what I value most in security tooling:

  • it allows me to do far less work
  • it does what it says on the tin
  • it allows you to be extremely creative

The fact that I am just posting this of my own volition without any incentive should speak volumes to how great these products are. Keep up the f***ing amazing work.

💼
REMOTE SECURITY ENGINEERING JOBS
Security Operations Engineer
Remote - US
Senior Security Engineer (MS-Sentinel/Google Chronicle Professional) - Mid-Atlantic region (Remote in NC, VA, WV, MD, DC, DE, NJ, or PA)
Remote in NC, VA, WV, MD, DC, DE, NJ, or PA
Senior Security Engineer - Incident Response
Remote, US
Staff Security Engineer
Remote
Staff Security Engineer - US Remote
Remote United States
👋
THANKS

Thank you for reading this week's issue, and see you next week! If you have any feedback, hit me up!