Satan had a good idea of God's plan of salvation for men.
The first clue was the prophecy pronounced directly against him after the fall of men.
I will put enmity between thee and the woman, and between thy seed and her seed; it shall bruise thy head, and thou shalt bruise his heel (Genesis 3:15)
Then there was the sacrificial system, where lambs without blemish were offered to God as a propitiation for sin. Clearly there was a substitute offered in place of the sinful repentant men. He would have been experienced enough to know that the blood of lambs and bulls do not actually have power to take away sin.
Satan would have also seen that not all men died. Enoch and Elijah were translated to heaven, though they were born in sin. Also when he contented for the body of Moses after his death, God has power and righteous justification to take him to heaven (Jude 9).
Satan had centuries and millenniums to study the prophecies, he knew of the Son of God and knows the references made of a Divine redeemer must have been about Him.
When Jesus came to the world, Satan made amble provisions to kill Him and tempt Him, because Jesus was "the Lamb of God, which taketh away the sin of the world" (John 1:29).
When Jesus told the disciples that he would "be killed, and raised again on the third day", Peter said "be it far from thee, Lord: this shall not be unto thee". Jesus immediately recognized that this was Satan working in Peter to to counter the plan of salvation. Jesus rebuked Peter, "Get thee behind me Satan: thou art an offence unto me" (Matthew 16:21-23).