This document discusses a hierarchical long short-term memory (HLSTM) network for cyberattack detection. The HLSTM network is proposed to enhance intrusion detection systems, which traditionally struggle to quickly and accurately identify complex, diverse network attacks, especially low-frequency attacks. The HLSTM network introduces a hierarchical structure that allows the model to learn across multiple temporal levels in complex network traffic sequences. When evaluated on the NSL-KDD benchmark dataset, the HLSTM network showed better detection performance compared to existing methods, with higher accuracy and lower false detection rates for low-frequency attack types.