Object-oriented is an important feature of operating system, and it is not exclusive to its micro-kernel architecture but promoting it. Object-oriented technology embodies design and implementation, which makes idea and realization possible. Due to the openness of transmission medium, LAN communication requests higher and better steganography-keeping performance. Through the features of LAN network security, the LAN security framework and hierarchical network security technology are proposed. Based on the basic principles and common methods of steganography information and the commonly used methods, combined with steganography capacity and the distortion changes of statistical properties, the improved LSB steganography writing with anti-steganography is given. In conclusion, the method can write different amount of data in different regions.