Introduction to Lantern: This write-up will explore the "Lantern" machine from Hack The Box, categorized…