Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Daniel Owen

@daniel@infosec.exchange
  • Open on infosec.exchange
43 Followers
86 Following
8 Posts
Joined January 16, 2019
Personal website:
https://danielowen.com
My GitHub Repo:
http://github.com/0x44616e69656c/

Posts

Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 25, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Replying to on mastodon.social
@Viss@mastodon.social I know Breville calls these toaster ovens, but I treat mine like a mini oven and cook pretty much anything that'll fit in it. I'll go long stretches between needing to turn on a full size oven. I also find the breville has much more even temp control than my full size ovens. That is some good looking bread you made.
0
0
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 20, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Replying to @yolo@defcon.social
@yolo@defcon.social I do not require any third party applications or tooling outside of Windows and VMware Workstation. That was one of my major requirements when I envisioned this. Everything this does is possible with other existing tools, but this makes it literally something you can run from a PowerShell prompt with a single command line.
0
0
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 20, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Replying to @daniel@infosec.exchange
The other two, if you want the whole chain or just one piece of it. New-VMwareWorkstationVM takes an ISO to a running, network-configured Windows Server VM. Useful on its own if you build VMs and do not care about AD. https://github.com/0x44616e69656c/New-VMwareWorkstationVM new-AdDomain promotes the forest and does the populating. Point it at any clean Windows Server 2025 box, no VMware required. https://github.com/0x44616e69656c/new-AdDomain
0
0
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 20, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
I like a fresh lab. I do not like building one for the umpteenth time, especially when the build takes longer than the thing I actually wanted to test. build-lab is the final piece in a three-script set, and the one that ties the other two together. One command, an ISO, and roughly half an hour later you have a Windows Server 2025 domain controller. Log on once and the domain populates itself with a directory that looks lived in, nested groups and GPOs and an Enterprise CA included. No GUI, no answer file to hand-edit, no clicking Next. This is an orchestrator. It calls New-VMwareWorkstationVM to build and start the VM, pushes the new-AdDomain payload into the guest over vmrun, and kicks off the promotion. Still PowerShell 5.1, still nothing outside what Microsoft and VMware already ship. One thing is deliberately manual. Directory population runs from a scheduled task that fires at your first Administrator logon, so you do have to log into the console once. I could automate it by storing a domain Administrator password under a startup-triggered task. That's the one compromise I decided not to make, even in a lab, and I'm still not certain it was the right call. The interesting problem was verification. A successful AD promotion reboots Windows immediately, which tears down the vmrun guest-operations channel mid-call. A blocking call hung on that reboot and never came back. So the guest script gets launched fire-and-forget, which means there is no exit code to read. Just silence. Instead, build-lab confirms success by polling for ntds.dit in the guest, and pulls the guest's deployment logs back to the host either way, because the run you need logs from is the one that failed. https://github.com/0x44616e69656c/build-lab What's the step in your lab build that you've rebuilt by hand so many times you've stopped noticing it? #PowerShell #ActiveDirectory #WindowsServer #Automation #HomeLab #VMware #InfoSec
0
2
1
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 17, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Replying to @daniel@infosec.exchange
One thing I had to work around is that AD promotion is a hard boundary. Once a server becomes a domain controller, a lot of the things you'd normally configure beforehand either change or disappear. Rather than trying to survive the promotion reboot with one giant script, I split it in two. The first script handles everything before promotion. The second resumes after the reboot, populates the directory, and runs validation tests so I know the build actually worked. If you saw my New-VMwareWorkstationVM post, this is the AD half of that workflow. Together they take you from a Windows Server ISO to a populated forest without touching a wizard. Next up is a script that ties the whole lab build together.
0
0
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 17, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
I really dislike sitting down to a lab environment that looks bare. Three users. A couple of empty OUs. Domain Admins with one lonely account. Nothing that feels real. It often doesn't matter, but it bugs me. I'm not going to hand craft hundreds or thousands of objects for a lab, but automation doesn't care. New-AdDomain takes a clean Windows Server 2025 machine and builds a realistic Active Directory forest. Proper OU structure, nested groups, computer and service accounts, GPOs, sites, an Enterprise Root CA, and enough lived-in state that security tools and attack simulations have something meaningful to work with. Pure PowerShell. No Ansible. No third-party dependencies. https://github.com/0x44616e69656c/new-AdDomain #PowerShell #ActiveDirectory #WindowsServer #HomeLab
0
1
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 16, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Replying to @daniel@infosec.exchange
One implementation detail took way longer than it should have. If you assign a static IP, the script waits for the VM to come online, ejects the install media, performs a soft shutdown, removes the virtual CD/DVD from the VMX, then confirms it boots cleanly. VMware Workstation rewrites the VMX from its in-memory device list when the VM powers off, silently overwriting any edits made while the VM was running. Found that one the hard way. Next up: a script to build out a complete Active Directory lab once the docs are finished.
0
0
0
0
Open post
daniel
Daniel Owen @daniel@infosec.exchange · Jul 16, 2026
Daniel Owen
@daniel@infosec.exchange
infosec.exchange
Got tired of clicking through Windows Server Setup for every disposable lab VM, so I automated it. New-VMwareWorkstationVM takes a Windows Server 2025 ISO and gives you back a running, network-reachable VM. It generates an autounattend.xml, builds a bootable ISO with IMAPI2, creates a sparse VMDK, writes the VMX, and drops everything into your Workstation library. MIT licensed. Requires VMware Workstation 17+ and a Windows Server 2025 ISO. Nothing else. https://github.com/0x44616e69656c/New-VMwareWorkstationVM #PowerShell #VMware #HomeLab
0
1
0
0

Remote instance

infosec.exchange
Open on original server
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 20:59:47 UTC