The article builds up the simulated activity of Keylogger spyware, deploys experiments on real environments and uses a number of tools to observe activities. Experimental results show that the built-in software is able to gather information from the computer keyboard that is monitored and transferred to the tracking subject. These techniques will positively contribute to the protection of user data, which makes sense when it can be the foundation for building spyware detection and elimination tools.Xây dựng phần mềm gián điệp Keylogger, triển khai thử nghiệm trên môi trường thực tế và sử dụng một số công cụ để quan sát hoạt động. Kết quả thực nghiệm cho thấy phần mềm xây dựng được có khả năng thu thập được thông tin từ bàn phám máy tính bị theo dõi và chuyển về cho chủ thể theo dõi. Các kỹ thuật này sẽ góp phần tích cực vào việc bảo vệ dữ liệu người dùng, có ý nghĩa trong thực tế khi có thể là nền tảng để xây dựng công cụ phát hiện và loại trừ phần mềm gián điệp.