OK, some universities do lend out laptops. (lots of the Scottish ones etc) so ask them first that, or ask in the group chat for your university specifically
when I first started working in Cybersecurity (aspects of) I was the only person with a MacBook Pro (16GB RAM 768GB rotary i5 CPU), everyone else had some sort of corporate Dell or a Lenovo T, W, X
when I moved from Cybersecurity to Energy, nearly everyone in the Cybersecurity meetings was using MacBook Pro, (and by then I was then using eBay refurbished recycled Lenovo X220 with 16GB RAM, 2 x 512GB SSDs (one in the WWAN slot and one SATA SSD) - really cheap, consider getting a used 'ex-bank' Lenovo 13" (T430?) or T440, T450, if you go this route - get one with a nice IPS HD+ display , total ~ £300-ish
For the long course: You can easily have a 4 or 6 terabyte external disk to store things on, or better a simple local LAN NAS raid array for storage. (£300-ish)
Whilst working on cybersec, I did a lot of work on virtual machines using hypervisor access to servers with >100GB RAM and almost infinite HDDs,
you can simply log on with SSH from something as simple as a MacBook Air 2020 (the keyboards actually work in the 2020 MBA) and so you might *not* need the most powerful machine going, as you just 'virtually go there'